pub fn sweep(root: &Path, named: impl Fn(&str) -> bool) -> usizeExpand description
Clear what is left behind: uploads that never finished, and stored files no task names (named
says whether one does) once they are an hour old, so an upload waiting to be attached is not lost.
Returns how many files went.