Function mnt::get_mount_writable [] [src]

pub fn get_mount_writable<T>(target: T, writable: bool) -> Option<MountEntry> where T: AsRef<Path>

Find the potential mount point providing readable or writable access to a path

Do not check the path existence but its potentially parent mount point.