detect_file_type

Function detect_file_type 

Source
pub fn detect_file_type(path: &Path) -> FileType
Expand description

Detect file type from path using pattern matching