Function MimeCache.findMimeTypesByGlob

Find all MIME type alternatives for fileName using glob patterns which are not literals or suffices.

auto std.algorithm.iteration.MapResult!(mime.cache.MimeCache.findMimeTypesByGlob(scopeconst(char)[]).__lambda3,std.algorithm.iteration.FilterResult!(mime.cache.MimeCache.findMimeTypesByGlob(scopeconst(char)[]).__dgliteral2(std.typecons.Tuple!(const(char)[],"glob",const(char)[],"mimeType",ubyte,"weight",bool,"cs").Tuple),std.algorithm.iteration.MapResult!(mime.cache.MimeCache.globs().__dgliteral2,std.algorithm.iteration.MapResult!(mime.cache.MimeCache.globs().__lambda1,std.range.iota!(uint,uint).iota(uint,uint).Result).MapResult).MapResult).FilterResult) findMimeTypesByGlob (
  scope const(char)[] fileName
) pure @trusted const;

Parameters

NameDescription
fileName name to match against glob patterns.

Returns

Range of MimeTypeAlternativeByName with pattern set to glob pattern matching fileName.