Skip to main content

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;
13mod walk;
14pub use walk::{Entry as WalkEntry, Order as WalkOrder, Walk, walk};
15#[cfg(windows)]
16pub use walk::{FileType as WalkFileType, Metadata as WalkMetadata};
17
18/// Filesystem traversal, in-memory tree representation, and traversal events.
19pub mod traverse;
20
21pub use aggregate::aggregate;
22pub use common::*;
23pub(crate) use inodefilter::InodeFilter;