pub fn get_all() -> Result<Vec<Branch>>Expand description
Fetches all branches from the ‘origin’ remote and returns all local and remote Branches
sorted by last committer date (most recent first).
§Errors
- The repository cannot be discovered.
- The ‘origin’ remote cannot be found.
- Performing
git fetchfor 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
DateTimefails.