pub fn cleanup_cache(cache_dir: PathBuf, policy: CleanupPolicy) -> Result<()>
Clean up cache based on policy.