Module dynamic

Module dynamic 

Source

Modules§

app
archive
audio
book
doc
font
image
odf
text
video

Structs§

Infer
Infer allows to use a custom set of Matchers for infering a MIME type.
ShivaUnknownExtensionError
Type
Generic information for a type

Enums§

DynamicBendable
MatcherType
OpenError
ShivaError

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§

DynamicResult
Matcher
Matcher function