Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/files/parse/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Buffer, isUtf8 } from
'buffer'
2
import
{ createHash } from
'crypto'
3
import
fsPromises from
'fs/promises'
4
import
path from
'path'
Callers
nothing calls this directly
Calls
14
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
checkInternalAuth
Function · 0.90
parseRequest
Function · 0.90
getValidationErrorMessage
Function · 0.90
extractCleanFilename
Function · 0.90
getErrorMessage
Function · 0.90
parsedOutputTooLargeResponse
Function · 0.85
parseFileSingle
Function · 0.85
getContentBytes
Function · 0.85
info
Method · 0.80
error
Method · 0.80
Tested by
no test coverage detected