Skip to main content

prune

Function prune 

Source
pub fn prune(dir: &Path, live: &[ListKey])
Expand description

Deletes every file whose key is not in live (a removed profile, a disconnected or other account), then keeps only the MAX_FILES newest. Files that do not parse are deleted too.