Function FilesMimeStore.this

Constructor based on MIME paths.

this(Range) (
  Range mimePaths,
  FilesMimeStore.Options options = Options.init
)
if (isInputRange!Range && is(ElementType!Range : string));

Parameters

NameDescription
mimePaths Range of paths to base mime/ directories in order from more preferable to less preferable.
options Options for file reading and error reporting.

Throws

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

See Also

mimePaths