duvis 0.1.7

Disk usage visualizer for both AI and humans
Documentation
//! Filesystem scan facade. Re-exports the policy enum, the progress
//! counters, and the two entry points (`scan` / `scan_with_progress`)
//! so callers can `use crate::scan::{scan, HardlinkPolicy, ScanCounts}`
//! without caring which submodule each item lives in.
//!
//! Submodule layout (private — external access goes through the
//! re-exports below):
//! - `hardlinks` — `HardlinkPolicy` enum + Display / FromStr (CLI surface).
//! - `counts` — `ScanCounts` atomic progress signal shared with UI.
//! - `metadata` — per-file metadata reads (`file_disk_usage` with
//!   Unix `st_blocks` + hardlink dedup, `days_since_modified`).
//! - `walk` — the parallel rayon walk + `scan` / `scan_with_progress`
//!   entry points and the bulk of the tests.

mod counts;
mod hardlinks;
mod metadata;
mod walk;

pub use counts::ScanCounts;
pub use hardlinks::HardlinkPolicy;
pub use walk::{scan, scan_with_progress};