Skip to main content

disk_space

Function disk_space 

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

(free, total) bytes of the file system holding path (or its nearest existing ancestor). None where it cannot be determined.