Skip to main content

caches_clear_document

Function caches_clear_document 

Source
pub fn caches_clear_document(
    outcomes: &[ClearOutcome],
    kept: &[CacheReport],
) -> Value
Expand description

caches clear --json: what actually went.

freed_bytes is measured, not assumed — a prune keeps what is still referenced, and a clear that failed half-way still freed part of it.