Skip to main content

statvfs_target

Function statvfs_target 

Source
pub fn statvfs_target(path: &Path) -> Result<DiskSpace>
Expand description

Probe the path, or the nearest existing ancestor if it does not exist yet. The cache directory can be probed before it is created (pre-boot doctor) or after (the running eviction driver); walking to the nearest existing ancestor gives the right volume in both cases.