Skip to main content

get_local_branches

Function get_local_branches 

Source
pub fn get_local_branches(repo: &Repository) -> Result<Vec<String>, GitError>
Expand description

Get a list of local branch names.

§Arguments

  • repo - The repository

§Errors

  • If the branch list cannot be retrieved