Skip to main content

cleanup_versions

Function cleanup_versions 

Source
pub fn cleanup_versions(
    live_path: &Path,
    _root_path: &Path,
    max_count: usize,
    max_size_mb: u64,
) -> Result<()>
Expand description

Removes old versions exceeding count or size limits, preserving the newest.