Skip to main content

available_space

Function available_space 

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

Free bytes on the partition hosting path (or its nearest existing ancestor).

Returns None if the available space cannot be determined.