Skip to main content

list_refs

Function list_refs 

Source
pub fn list_refs(repo: &Path) -> Result<RepoRefs>
Expand description

Return all branches, tags, and recent commits for repo.

ยงErrors

Returns an error if any underlying git command fails.