Expand description
Disk usage analyzer with intelligent caching
This library provides fast disk usage calculation with caching support, designed for applications that work with mostly immutable files.
Modulesยง
- cache ๐
- Cache management module for storing and retrieving disk usage statistics
- disk_
use ๐ - High-level disk usage analysis interface combining cache and scanner
- error ๐
- Error handling module with contextual error messages
- logger
- Logger module for file-based logging
- scanner ๐
- Directory scanning module for calculating disk usage statistics
- tui
- TUI module for displaying cached disk usage statistics
Structsยง
- DirStat
- Statistics for a directory and its contents
- DiskUse
- Main interface for disk usage analysis with caching support
Enumsยง
- Disk
UseError - Custom error type that wraps IO errors with additional context
Functionsยง
- format_
size - Format bytes into string with optional human-readable scaling
- get_
default_ cache_ path - Get default cache directory path