mime.files.globs

Parsing mime/globs and mime/globs2 files.

Public Imports

mime.files.common
public import mime.files.common;

Members

Aliases

GlobLine
alias GlobLine = Tuple!(uint, "weight", string, "mimeType", string, "pattern", bool, "caseSensitive")

Represents one line in globs or globs2 file.

Functions

globs2FileReader
auto globs2FileReader(Range byLine)

Parse mime/globs2 file by line ignoring empty lines and comments.

globsFileReader
auto globsFileReader(Range byLine)

Parse mime/globs file by line ignoring empty lines and comments.

Meta