Skip to main content

clean_dev_dirs/
lib.rs

1//! # clean-dev-dirs
2//!
3//! A fast and efficient CLI tool for recursively cleaning Rust `target/` and Node.js `node_modules/`
4//! directories to reclaim disk space.
5//!
6//! This library provides the core functionality for the clean-dev-dirs CLI tool,
7//! allowing for scanning, filtering, and cleaning development project build artifacts.
8
9pub mod cleaner;
10pub mod config;
11pub mod executables;
12pub mod filtering;
13pub mod project;
14pub mod scanner;
15pub mod utils;
16
17// Re-export commonly used types for convenience
18pub use cleaner::Cleaner;
19pub use config::{ExecutionOptions, FilterOptions, ProjectFilter, ScanOptions};
20pub use filtering::filter_projects;
21pub use project::{BuildArtifacts, Project, ProjectType, Projects};
22pub use scanner::Scanner;
23pub use utils::parse_size;