Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ mimeFromExt
Function
mimeFromExt
apps/sim/lib/media/ffmpeg.ts:151–153 ·
view source on GitHub ↗
(ext: string)
Source
from the content-addressed store, hash-verified
149
}
150
151
function
mimeFromExt(ext: string): string {
152
return
EXT_TO_MIME[ext] ||
'application/octet-stream'
153
}
154
155
const
ASPECT_TARGETS: Record<string, { w: number; h: number }> = {
156
'16:9'
: { w: 1920, h: 1080 },
Callers
1
readOut
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected