get_all_no_redundant

Function get_all_no_redundant 

Source
pub fn get_all_no_redundant() -> Result<Vec<Branch>>
Expand description

Retrieves all branches without redundant remote duplicates.

§Errors

  • The repository cannot be discovered.
  • The ‘origin’ remote cannot be found.
  • Performing git fetch for all branches fails.
  • Enumerating branches fails.
  • A branch name is not valid UTF-8.
  • Resolving the branch tip commit fails.
  • Converting the committer timestamp into a DateTime fails.