mcp4k
Toggle table of contents
0.4.8
common
Target filter
common
Switch theme
Search in API
Skip to content
mcp4k
mcp4k-file-provider
/
sh.ondr.mcp4k.fileprovider
/
MimeTypeDetector
/
detect
detect
abstract
fun
detect
(
pathName
:
String
)
:
String
Given a filename (or path segment), return its MIME type, e.g. "text/plain" or "image/png".