Skip to main content

disk_stats

Function disk_stats 

Source
pub fn disk_stats(path: &Path) -> Option<DiskStats>
Expand description

Free/total bytes of the filesystem backing path (statvfs). Returns None if it can’t be read.