Function git2_ext::ops::head_branch
source · [−]pub fn head_branch(repo: &Repository) -> Option<String>
Expand description
Lookup the branch that HEAD points to
pub fn head_branch(repo: &Repository) -> Option<String>
Lookup the branch that HEAD points to