Function sys_metrics::disks::disk_usage

source ·
pub fn disk_usage<P>(path: P) -> Result<(u64, u64), Error>
where P: AsRef<[u8]>,
Expand description

Return the (total, free) space of a Disk from it’s path (mount_point).