Skip to main content

same_branch_and_sha

Function same_branch_and_sha 

Source
fn same_branch_and_sha(
    prev: &GitDiffSnapshot,
    branch: &str,
    pushed_sha: Option<&str>,
) -> bool
Expand description

Whether prev describes the same branch and pushed sha the current scan resolved - the condition under which a failed lookup may keep prev’s cached PR.