Function list_branches
Source pub fn list_branches(_path: &Path) -> Result<Vec<String>>
Expand description
Lists all branches in the git repository.
§Parameters
path: The path to the git repository.
§Returns
Ok(Vec<String>) with a list of branch names.
Err(Error) if an error occurred while listing branches.