Expand description
Shared utilities — caching, formatting, and helper functions.
Structs§
- Cache
- A simple filesystem-based cache for audit results.
Functions§
- cpu_
count - Get the number of available CPU cores for parallel execution.
- format_
bytes - Format bytes to a human-readable size.
- format_
duration - Format a duration in seconds to a human-readable string.
- format_
number - Format a number with comma separators.
- format_
pct - Format a percentage value.
- read_
file_ trimmed - Read a file, trimming whitespace.
- truncate
- Truncate a string to a maximum length with ellipsis.