Skip to main content

Module path

Module path 

Source
Expand description

Path and filesystem helpers

Functions§

dir_size
Recursively compute total size of a directory in bytes. Returns None on permission or I/O error.
format_bytes
Format byte count as human-readable string (e.g. 1_048_576 -> “1.0 MB”).