MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/tools/ssh/download-file/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import path from 'path'
2import { createLogger } from '@sim/logger'
3import { getErrorMessage } from '@sim/utils/errors'
4import { generateId } from '@sim/utils/id'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateIdFunction · 0.90
checkInternalAuthFunction · 0.90
parseRequestFunction · 0.90
createSSHConnectionFunction · 0.90
sanitizePathFunction · 0.90
getFileExtensionFunction · 0.90
getMimeTypeFromExtensionFunction · 0.90
getErrorMessageFunction · 0.90
infoMethod · 0.80
onMethod · 0.80

Tested by

no test coverage detected