Module mime.files.globs

Parsing mime/globs and mime/globs2 files.

Functions

NameDescription
globs2FileReader(byLine) Parse mime/globs2 file by line ignoring empty lines and comments.
globsFileReader(byLine) Parse mime/globs file by line ignoring empty lines and comments.

Aliases

NameTypeDescription
GlobLine std.typecons.Tuple!(uint,"weight",string,"mimeType",string,"pattern",bool,"caseSensitive") Represents one line in globs or globs2 file.