inode/* mime type name for stated path or null if type is unknown or filePath targets regular file. Note: On non-posix platforms it only cheks if filePath targets directory and returns inode/directory if so.
assert(inodeMimeType("source") == "inode/directory"); //directory assert(inodeMimeType("dub.json") is null); //regular file assert(inodeMimeType("test/|nonexistent|") is null); //nonexistent path
Get inode mime type for file path.