dua/lib.rs
1//! Public library API for `dua` core traversal and aggregation functionality.
2//!
3//! This crate powers the `dua` binary and can also be used as a library.
4#![deny(unsafe_code)]
5#![deny(missing_docs)]
6
7mod aggregate;
8mod common;
9mod config;
10pub use config::Config;
11mod crossdev;
12mod inodefilter;
13pub(crate) use dua_core as walk;
14
15/// Filesystem traversal, in-memory tree representation, and traversal events.
16pub mod traverse;
17
18pub use aggregate::aggregate;
19#[cfg(any(windows, target_os = "macos"))]
20pub use aggregate::aggregate_entries;
21pub use common::*;
22pub(crate) use inodefilter::InodeFilter;