Function IMimeDetector.mimeTypeForFileName

The preferable mime type for fileName.

abstract const(char)[] mimeTypeForFileName (
  const(char)[] fileName
);

Returns

The name of preferable mime type for given fileName or null if could not find any match.

Note

Implementer is NOT expected to get the file data or state (e.g. read or stat it).