Skip to main content

prune_cache

Function prune_cache 

Source
pub fn prune_cache(cache: &Path, limit_bytes: u64) -> Result<Prune>
Expand description

Delete files from the shared build cache until it fits its cap.

See crate::disk::prune_dir for the oldest-first policy.