Function file_type

Source
pub fn file_type(metadata: &Metadata) -> Result<FileType, Error>
Expand description

Try getting the fuser::FileType from a std::fs::Metadata.

For now, this only supports directories, files, and symlinks.