pub fn free_space(dir: &Path) -> Option<u64>
Free bytes on the file system holding dir, or its nearest existing parent.
dir