mirror of
https://github.com/tobi/disktree.git
synced 2026-11-28 16:00:45 +00:00
- scan: dust's approach — one rayon scope, a +1 completion counter per directory, bottom-up aggregation — with live progress and cancellation. Disk usage by default, hardlinks counted once, symlinks not followed. - tree: nodes with derived totals; aggregate() is the single source. - treemap: squarified layout in viewport pixels, a name band per subdivided directory, and crumbs that always address the scanned tree. - space: statvfs, and the projection after removing marked bytes. - removal: guarded plans (root, home, scanned root, mount points and paths outside the root are refused), rm -rf semantics without a shell, and trash via trash-put, gio or a built-in XDG implementation.