virtual_fs::ops

Function is_file

Source
pub fn is_file<F>(fs: &F, path: impl AsRef<Path>) -> bool
where F: FileSystem + ?Sized,
Expand description

Does this path refer to a file?