Skip to main content

collect_with_progress

Function collect_with_progress 

Source
pub fn collect_with_progress(
    seeds: &[PathBuf],
    on_dir: &mut dyn FnMut(),
) -> Vec<Cache>
Expand description

Same as collect but invokes on_dir once per directory entry observed during every cache’s walk. The startup-scan worker uses this to send Msg::ScanProgress updates to the TUI.