Skip to main content

free_bytes

Function free_bytes 

Source
pub fn free_bytes(path: &Path) -> Result<u64>
Expand description

Free bytes on the volume containing path.

Unix parses df; Windows asks the volume directly through kernel32, without starting a subprocess on the synchronous health-request path.