Module mime.treemagic
Treemagic rules object representation.
Functions
Name | Description |
matchTreeMagic(mountPoint, treeMagic)
|
Test if layout of mountPoint matches given treeMagic.
|
treeMimeType(mountPoint, treemagicPath)
|
Detect MIME type of mounted device using treemagic file.
|
treeMimeType(mountPoint, mimePaths)
|
Detect MIME type of mounted device using treemagic files.
|
Structs
Name | Description |
TreeMagic
|
Treemagic definition. Represents <treemagic> element in souce XML.
|
TreeMatch
|
One of treemagic rules in treemagic definition. Represents <treematch> element in source XML.
|