Skip to main content

prune_old_dumps_with

Function prune_old_dumps_with 

Source
fn prune_old_dumps_with(dir: &Path, prefix: &str, keep: usize)
Expand description

Delete the dumps with prefix in dir that are not among the newest keep or are older than DUMP_MAX_AGE_SECS. Best-effort.