MimeGlob.this

struct MimeGlob
@nogc @safe nothrow pure
this
(
string glob
,,
bool cs = false
)

Examples

auto mimeGlob = MimeGlob("*.txt", 60, true);
assert(mimeGlob.pattern == "*.txt");
assert(mimeGlob.weight == 60);
assert(mimeGlob.caseSensitive);

mimeGlob = MimeGlob.init;
assert(mimeGlob.pattern == "");
assert(mimeGlob.weight == defaultGlobWeight);

Meta