Expand description
putzen caches — interactive cache cleanup TUI.
Modules§
- defaults
- Catalogue of default cache directories scanned by
putzen caches. - format
- Pure formatters: human-readable bytes, durations, and display labels.
- model
- Pure data types for the cache TUI.
- scan
- Filesystem walk: enumerate seeds → ranked
Cacheentries. - tui
putzen cachesinteractive cache cleanup TUI.
Structs§
Functions§
- parse_
duration - Accepts a duration like “24h”, “7d”, “2w”, or “1y”. Returns Err on parse failure.
- resolve_
path - Resolve a HOME-relative path string against
$HOME. Absolute paths (/...) pass through unchanged. - run
- select_
seeds - Pick the seed set for the scan:
--rootvalues when given, otherwise the built-in defaults resolved againsthome. The two are alternatives rather than complementary — passing--rootis the user telling us “scan this tree, not the usual ones”.