Skip to main content

available_disk_space

Function available_disk_space 

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

The free space of the file system holding path, measured at the nearest directory of it that exists, so that a directory still to be created reports the space it will get. None if it cannot be determined.