Skip to main content

pick_opened

Function pick_opened 

Source
pub fn pick_opened(
    list: &Value,
    branch: Option<&str>,
    since_ms: i64,
) -> Option<u64>
Expand description

The PR a just-seen gh pr create opened, from a list GitHub gave: the first created since since_ms (less [CREATED_SLACK_MS]), from branch when one is given. An older PR from the same branch (merged long ago, or open before this command) is not this command’s.