FilesMimeStore.this

Constructor based on MIME paths.

class FilesMimeStore
this
(
Range
)
if (
isInputRange!Range &&
is(ElementType!Range : string)
)

Parameters

mimePaths Range

Range of paths to base mime/ directories in order from more preferable to less preferable.

options Options

Options for file reading and error reporting.

Throws

mime.files.common.MimeFileException if some info file has errors. mime.files.magic.MimeMagicFileException if magic file has errors. mime.files.treemagic.TreeMagicFileException if treemagic file has errors. ErrnoException or FileException if some important file does not exist or could not be read.

See Also

mime.paths.mimePaths

Meta