Crate acme_disk_use

Crate acme_disk_use 

Source
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ยง

DiskUseError
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