Skip to main content

cleanup_old_backups

Function cleanup_old_backups 

Source
pub fn cleanup_old_backups(
    db_path: &Path,
    keep_count: usize,
) -> Result<(), Error>
Expand description

Remove old backup files, keeping only the most recent keep_count.