Expand description
Command handler modules.
Each subcommand has its own module with a run() function.
Structs§
- Cache
Report - One cache directory that exists on this machine.
- Clear
Outcome - What happened to one cache.
Enums§
- Clear
- How one cache is emptied.
Functions§
- confirm_
clear - Ask before anything is emptied.
--yesanswers for the user; a pipe or a script without it gets a “no” plus the flag to pass next time. - is_
cache_ manager - Whether
nameis a cache manager dev-prune knows, for validatingcache_max_gb. - known_
managers - Every manager name
clearaccepts, in report order, without repeats. - run
- Run the
cachescommand, for the whole machine or for one drive. - run_
clear - Run
dev-prune caches clear <target>.