Skip to main content

index_with_gc

Function index_with_gc 

Source
pub async fn index_with_gc(
    root: &Path,
    src: &Path,
    repo: &str,
    view: &str,
    gc_after: bool,
    min_age: Duration,
) -> Result<(IndexSummary, Option<GcSummary>)>
Expand description

index_with_options for the common case: default filter, resolved parse worker, and the sweep governed by gc_after / min_age.