Skip to main content

build_ref_labels

Function build_ref_labels 

Source
fn build_ref_labels(repo: &Repository) -> Result<HashMap<String, Vec<RefBadge>>>
Expand description

Build a map from commit hash (hex string) to the ref badges pointing at it. Tags come before branches within each entry; both are sorted alphabetically.