Skip to main content

gc_blobs

Function gc_blobs 

Source
pub async fn gc_blobs<B: BlobStore>(
    blobs: &B,
    live_manifests: &[Manifest],
) -> Result<GcReport>
Expand description

Sweep blobs: delete every stored slice no live_manifests entry references, and report what was freed vs. retained. Mark-sweep — see the module docs for why this is preferred over refcounting.