Skip to main content

remote_has_branch

Function remote_has_branch 

Source
pub async fn remote_has_branch(
    repo: &Path,
    remote: &str,
    branch: &str,
) -> Result<bool>
Expand description

Does remote have branch? Err when that cannot be told (unreachable remote), which callers must not read as “no”.