Skip to main content

prune_candidates

Function prune_candidates 

Source
pub fn prune_candidates<'a>(
    module_id: &str,
    today: NaiveDate,
    retention: SegmentRetention,
    present: impl IntoIterator<Item = &'a str>,
) -> Vec<&'a str>
Expand description

Segments older than the window, decided by filename alone. Names that are not this module’s segments are never returned.