pub fn get_branch_for_head(repo: &Repository) -> Result<Branch<'_>, Error>Expand description
Resolved the branch for HEAD if one exists
pub fn get_branch_for_head(repo: &Repository) -> Result<Branch<'_>, Error>Resolved the branch for HEAD if one exists