Skip to main content

available_disk_bytes

Function available_disk_bytes 

Source
pub fn available_disk_bytes(path: &Path) -> Option<u64>
Expand description

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.