isNoGlobs

Check is pattern is __NOGLOBS__. This means glob patterns from the less preferable MIME paths should be ignored.

@nogc @safe pure nothrow
bool
isNoGlobs
(
T
)
(
scope const(T)[] pattern
)
if (
is(T == char) ||
is(T == ubyte)
||
is(T == byte)
||
is(T == void)
)

Examples

assert(isNoGlobs("__NOGLOBS__"));
assert(!isNoGlobs("someglob"));

Meta