Skip to main content

collect_refs

Function collect_refs 

Source
fn collect_refs(
    repo: &Repository,
    include: &GlobSet,
    exclude: &GlobSet,
) -> Result<(Vec<RefInfo>, Vec<RefInfo>)>
Expand description

Collect tags and branches for the refs overview page.

Refs that don’t pass git_ui.include/exclude (see ref_is_included) are omitted.