MimeDatabase.mimeTypeForFile

Get MIME type for file using methods describing in options. File contents will be read automatically if needed.

  1. Rebindable!(const(MimeType)) mimeTypeForFile(string fileName, const(void)[] data, Match options)
  2. Rebindable!(const(MimeType)) mimeTypeForFile(string fileName, Match options)
    class MimeDatabase
    Rebindable!(const(MimeType))
    mimeTypeForFile

Meta