Function fif::files::mime_type

source ·
pub fn mime_type<T: MimeDb>(db: &T, path: &Path) -> Result<Option<Mime>>
Expand description

Tries to identify the MIME type of a file from a given path.