Expand description
Filesystem walk: enumerate seeds → ranked Cache entries.
Functions§
- collect
- Walk every seed and concatenate, de-duplicating by canonicalised absolute path. Order is preserved (first occurrence wins).
- collect_
with_ progress - Same as
collectbut invokeson_dironce per directory entry observed during every cache’s walk. The startup-scan worker uses this to sendMsg::ScanProgressupdates to the TUI. - enumerate_
seed - Enumerate immediate children of
seed; each becomes oneCache. Non-existent or non-directory seeds yield an empty vec. - enumerate_
seed_ with_ progress - Same as
enumerate_seedbut invokeson_dironce per directory entry observed during each child cache’s walk. Drill-in workers use this to feedMsg::ScanProgressto the TUI so the spinner counts folders the same way the startup scan does. - stat_
dir - Walk a single directory and aggregate its size, newest mtime, and counts. Symlinks are not followed. Permission errors are silenced.
- stat_
dir_ with_ progress - Same as
stat_dirbut invokeson_dironce per directory entry observed during the walk. The callback is the per-cache progress hook used by the startup scan to feedMsg::ScanProgressto the TUI.