Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeImage = "Image" TypeVideo = "Video" TypeAudio = "Audio" TypeDocument = "Document" TypeArchive = "Archive" TypeExecutable = "Executable" TypeCode = "Code" TypeOther = "Other" )
Categories
Variables ¶
This section is empty.
Functions ¶
func CategoryFromMIME ¶
CategoryFromMIME maps common MIME types into CHEST categories
func ClassifyExtension ¶
ClassifyExtension returns high-level Category name for extension (e.g. "mp4" -> "Video")
func ClassifyFilename ¶
ClassifyFilename returns high-level Category name for filename
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.