branch_exists

Function branch_exists 

Source
pub fn branch_exists(
    repo: &str,
    owner: &str,
    branch: &str,
    domain: Option<&str>,
) -> bool
Expand description

Check if a specific branch exists without listing all branches. Much more efficient for repos with many branches (like nixpkgs).