prune_old_backups

Function prune_old_backups 

pub(super) fn prune_old_backups(path: &Path) -> Result<()>
Expand description

Deletes .corrupt-* backups for path beyond the MAX_BACKUPS most recent, so a repeatedly-failing journal doesn’t accumulate backups forever.