Skip to main content

report_sweep

Function report_sweep 

Source
fn report_sweep(
    results: [(&str, Result<usize>, Result<usize>); 3],
    reclaimed: &Result<Vec<PathBuf>>,
)
Expand description

What a finished sweep is worth saying.

Its own function rather than the tail of the loop because a sweep only happens on a minute’s tick over blocks old enough to act on, so under test these arms run by coincidence or not at all — and a field that is only evaluated when something is listening is exactly the kind that rots unseen.