Skip to main content

current_branch

Function current_branch 

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

Currently checked-out branch, or None when detached.