Files
disktree/crates/disktree-core
Tobi Lutke 5b7361b015 core: kinds, findings, and scanning a whole disk
- classify: a category per node (code, agent scratch, toolchains, synced,
  git, media, documents, cache) from names and shapes — a bare repository
  is git whatever it is called — and a reclaim reason for caches, sync
  history, package stores and build output beside its manifest.
- insights: "worth a look", the largest findings that never nest:
  reclaimable space, agent worktrees, experiments untouched for a month.
- nodes carry their newest write time, rolled up by aggregate.
- space: a mount-table model of a volume. One volume is one mount source,
  so btrfs subvolumes (/home, /var/log) stay in and /proc, tmpfs, /boot,
  network shares and automount points stay out, checked by path so a NAS
  is never mounted to be measured. Staying on the volume is now the
  default; volume_root finds the disk a home directory lives on.
- removal: system trees (/usr, /etc, /var/lib, /nix/store, …) are refused.
- treemap: wider gaps between top-level directories, full name bands only
  at the first level and a slim label row below it.
2026-09-24 16:42:08 -05:00
..