Skip to main content

remove_stale_in

Function remove_stale_in 

Source
pub fn remove_stale_in(root: &Path, older_than: Duration) -> usize
Expand description

Remove the folders of hand-offs long over from root: those last changed more than older_than ago. A running copy can’t delete itself on Windows, so each start tidies the earlier ones. Returns how many it removed.