Skip to main content

summarize

Function summarize 

Source
pub fn summarize(root: &Path) -> Result<CacheSummary>
Expand description

Gather statistics about the cache at root.

Note the two failure postures on purpose: scanning stops at the first unreadable entry silently (status must never fail because one file is locked), but a failing prune::scan uses ? (a cache that can’t be classified is interesting and loudly reported).