Skip to main content

current_branch

Function current_branch 

Source
pub fn current_branch(root: &Path) -> Option<String>
Expand description

The checked-out branch, or None for a detached HEAD or no repository.