Skip to main content

get_file_type

Function get_file_type 

Source
pub fn get_file_type<P: AsRef<Path>>(path: P) -> Result<FileType>
Expand description

Detect the file type of the given file.