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/tools/ssh/download-file/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
path from
'path'
2
import
{ createLogger } from
'@sim/logger'
3
import
{ getErrorMessage } from
'@sim/utils/errors'
4
import
{ generateId } from
'@sim/utils/id'
Callers
nothing calls this directly
Calls
15
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateId
Function · 0.90
checkInternalAuth
Function · 0.90
parseRequest
Function · 0.90
createSSHConnection
Function · 0.90
sanitizePath
Function · 0.90
getFileExtension
Function · 0.90
getMimeTypeFromExtension
Function · 0.90
getErrorMessage
Function · 0.90
info
Method · 0.80
on
Method · 0.80
Tested by
no test coverage detected