Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ normalizeMime
Function
normalizeMime
src/utils/binaryExtensions.js:379–382 ·
view source on GitHub ↗
(mime)
Source
from the content-addressed store, hash-verified
377
}
378
379
function
normalizeMime(mime) {
380
if
(!mime || typeof mime !==
"string"
)
return
""
;
381
return
mime.split(
";"
)[0].trim().toLowerCase();
382
}
Callers
2
isBinaryMime
Function · 0.85
isTextMime
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected