Modules§
Structs§
- Infer
- Infer allows to use a custom set of
Matchers for infering a MIME type. - Shiva
Unknown Extension Error - Type
- Generic information for a type
Enums§
Functions§
- get
- Returns the file type of the buffer.
- get_
from_ path - Returns the file type of the file given a path.
- guess
- is
- Determines whether a buffer is of given extension.
- is_app
- Determines whether a buffer is an application type.
- is_
archive - Determines whether a buffer is an archive type.
- is_
audio - Determines whether a buffer is an audio type.
- is_book
- Determines whether a buffer is a book type.
- is_
document - Determines whether a buffer is a document type.
- is_font
- Determines whether a buffer is a font type.
- is_
image - Determines whether a buffer is an image type.
- is_mime
- Determines whether a buffer is of given mime type.
- is_
mime_ supported - Returns whether a mime type is supported.
- is_
supported - Returns whether an extension is supported.
- is_
video - Determines whether a buffer is a video type.
- open
- open_
file
Type Aliases§
- Dynamic
Result - Matcher
- Matcher function