MimeCache.findMimeTypesByGlob

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

class MimeCache
@trusted const
findMimeTypesByGlob
(
scope const(char)[] fileName
)

Parameters

fileName const(char)[]

name to match against glob patterns.

Return Value

Type: auto

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

Meta