MimeCache.findMimeTypesByLiteral

Find all MIME type alternatives for fileName using literal patterns like Makefile.

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

Parameters

fileName const(char)[]

name to match against literal patterns.

Return Value

Type: auto

Range of MimeTypeAlternativeByName with pattern set to literal matching fileName. Note: Depending on whether found literal is case sensitive or not literal can be equal to base fileName or not.

Meta