pub fn prune(root: &Path, cap: u64)
Delete the oldest files under root until what is left is at most cap bytes.
root
cap