mirror of
https://github.com/tobi/disktree.git
synced 2026-11-29 08:00:52 +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.
20 lines
481 B
TOML
20 lines
481 B
TOML
[package]
|
|
name = "disktree-core"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
description = "Filesystem scanning and treemap layout for disktree"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4.45", default-features = false, features = ["clock", "std"] }
|
|
rayon = { workspace = true }
|
|
rustix = { version = "1.1", features = ["fs"] }
|
|
rustc-hash = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|