Function MimeGlob.this

ref this (
  string glob,
  uint priority = 50u,
  bool cs = false
) pure nothrow @nogc @safe;

Example

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);