Skip to main content

cache_report

Function cache_report 

Source
pub fn cache_report(cfg: &Config) -> Option<(PathBuf, u64, u64)>
Expand description

The cache’s path, size and cap, for magi cache show and the health view. None when the config declares no CARGO_TARGET_DIR to aggregate.

A cap of 0 means the operator opted out of pruning; the size is then reported but never acted on.