Skip to main content

get_sync_branch

Function get_sync_branch 

Source
pub fn get_sync_branch(repo_path: &Path) -> Result<String>
Expand description

Returns the current branch name or an error when sync is unsafe.