back to home

KSXGitHub / parallel-disk-usage

Highly parallelized, blazing fast directory tree analyzer

View on GitHub
669 stars
17 forks
17 issues
RustTypeScriptShell

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing KSXGitHub/parallel-disk-usage in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/KSXGitHub/parallel-disk-usage)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Parallel Disk Usage (pdu) Highly parallelized, blazing fast directory tree analyzer. Description is a CLI program that renders a graphical chart for disk usages of files and directories, it is an alternative to and . Benchmark The benchmark was generated by a GitHub Workflow and uploaded to the release page. Programs • v0.20.0 • v1.2.1 • v2.30.1 • • v5.31.0 • benchmark results (lower is better) _(See more)_ Demo Features • Very fast. • Relative comparison of separate files. • Extensible via the library crate or JSON interface. • Unbiased regarding hardlinks: All hardlinks are treated as equally real. • Optional hardlink detection and deduplication (would make proportionally slower). • Optional progress report (would make slightly slower). • Customize tree depth. • Customize chart size. Limitations • Ignorant of reflinks (from COW filesystems such as BTRFS and ZFS). • Does not follow symbolic links. • Does not differentiate filesystems: Mounted folders are counted as normal folders. • The runtime is optimized at the expense of binary size. Usage See USAGE.md for the full help text. Development Prerequisites • Test Environment Variables | name | type | default value | description | |---------------|-------------------|---------------|-------------------------------------------------| | | or | | Whether to run | | | or | | Whether to run | | | or | | Whether to run | | | or | | Whether to run | | | or | | Whether to run | | | string | _(empty)_ | Space-separated list of flags for | | | string | _(empty)_ | Space-separated list of flags for | Run • : List of arguments to pass to . Build Debug build The resulting executable is located at . Release build The resulting executable is located at . Update shell completion files Extending The parallel-disk-usage crate is both a binary crate and a library crate. If you desire features that itself lacks (that is, after you have asked the maintainer(s) of for the features but they refused), you may use the library crate to build a tool of your own. The documentation for the library crate can be found in docs.rs. Alternatively, the command provides flag and flag. The flag converts disk usage data into JSON and the flag turns said JSON into visualization. These 2 flags allow integration with other CLI tools (via pipe, as per the UNIX philosophy). Beware that the structure of the JSON tree differs depending on the number of file/directory names that were provided (as CLI arguments): • If there are only 0 or 1 file/directory names, the name of the tree root would be a real path (either or the provided name). • If there are 2 or more file/directory names, the name of the tree root would be (which is not a real path), and the provided names would correspond to the children of the tree root. Installation Any Desktop OS From GitHub Go to the GitHub Release Page and download a binary. From crates.io **Prerequisites:** • Arch Linux From the Official Repository Distributions Frequently Asked Questions Is this project vibe-coded? No. "Vibe coding" means letting AI do everything without human involvement. This project uses AI-assisted workflows with active human direction and reviews. Using AI also does not mean poor quality. On the contrary, AI reviews have helped detect previously undetected bugs. Similar programs • **CLI:** • * • * • **TUI:** • * • • **GUI:** • GNOME's Disk Usage Analyzer, a.k.a. • Filelight License Apache 2.0 © Hoàng Văn Khải.