Skip to main content

available_space

Function available_space 

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

Free space (bytes) on the volume holding path, or None if it can’t be determined (unusual filesystem, sandbox) — callers then skip the check rather than block a run on a guess.