pub fn cleanup_versions( live_path: &Path, _root_path: &Path, max_count: usize, max_size_mb: u64, ) -> Result<()>
Removes old versions exceeding count or size limits, preserving the newest.