Function prune

Source
fn prune(d: &Path, budget: u64) -> Vec<u64>
Expand description

Keep the cache under budget bytes, oldest files first. Returns the keys it deleted so the caller can forget the seconds they held.