Skip to main content

scan_candidates

Function scan_candidates 

Source
pub(super) fn scan_candidates(
    scratch_dir: &Path,
    exclude: Option<&[String]>,
    now_ms: u64,
) -> Vec<Candidate>
Expand description

Phase 1: scan the .md.meta files, collecting candidates (not saved, not expired, not in exclude_scratch_ids) and pruning expired pairs.