Skip to main content

list_branches

Function list_branches 

Source
pub fn list_branches(cwd: &str) -> GitBranches
Expand description

List local branches plus the currently checked-out one for cwd. Returns is_repo:false when cwd is not a git repository.