pub fn prune(dir: &Path, keep: usize)Expand description
Deletes all but the newest keep run logs in dir, by name rather than
modification time, so a log restored from a backup cannot pass for the
newest; failures are ignored, since housekeeping must never stop an install.