FilesMimeStore

Implementation of mime.store.IMimeStore interface that uses various files from mime/ subfolder to read MIME types.

Constructors

this
this(Range mimePaths, Options options)

Constructor based on MIME paths.

Members

Aliases

FileError
alias FileError = Tuple!(string, "fileName", Exception, "e")

Functions

byMimeType
InputRange!(const(MimeType)) byMimeType()
errors
const(FileError)[] errors()

Get errors that were told to not throw but to be saved during parsing.

mimeType
Rebindable!(const(MimeType)) mimeType(char[] name)

Structs

Options
struct Options

Options to use when reading various shared MIME-info database files.

Inherited Members

From IMimeStore

byMimeType
InputRange!(const(MimeType)) byMimeType()

All stored mime types.

mimeType
Rebindable!(const(MimeType)) mimeType(char[] name)

Get mime type for name.

Meta