inode/* mime type name for mode or null if unknown. Regular files don't have inode/* type.
assert(inodeMimeType(S_IFCHR) == "inode/chardevice"); assert(inodeMimeType(S_IFBLK) == "inode/blockdevice"); assert(inodeMimeType(S_IFIFO) == "inode/fifo"); assert(inodeMimeType(S_IFSOCK) == "inode/socket");
Get mime type for stat mode.
This function is Posix only.