Skip to main content

scan_dir_progressive

Function scan_dir_progressive 

Source
pub fn scan_dir_progressive(dir: &Path, progress: impl FnMut(&[Entry])) -> Scan
Expand description

scan_dir_bounded, handing progress the rows read so far, sorted, every [LISTING_PROGRESS_EVERY] while the read goes on. A directory a share takes seconds to list shows its first rows as they arrive rather than a spinner until the last.