Skip to main content

branch_for

Function branch_for 

Source
pub fn branch_for(start: &Path) -> Option<String>
Expand description

Branch name, short SHA for detached HEAD, or None outside a git repo.