pub fn available_disk_bytes(path: &Path) -> Option<u64>
Free space in bytes on the filesystem holding path, or None if it cannot be determined. Used to check headroom before spilling intermediates to disk.
path
None