Skip to main content

available_disk_bytes

Function available_disk_bytes 

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

Available bytes on the filesystem holding path (best-effort; None if it can’t be determined). Unix uses statvfs; other platforms return None.