Module mime.files.magic
Parsing mime/magic files.
Functions
Name | Description |
---|---|
magicFileReader(data, sink)
|
Reads magic file contents and push magic entries to sink. |
Classes
Name | Description |
---|---|
MimeMagicFileException
|
Exception thrown on parse errors while reading shared MIME database magic file. |
Aliases
Name | Type | Description |
---|---|---|
MagicEntry
|
std
|
MIME type name and corresponding magic. |