MCPcopy Index your code
hub / github.com/simstudioai/sim / readFile

Method readFile

apps/sim/lib/execution/e2b.ts:418–418  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

416 }
417 ): Promise<PiSandboxCommandResult>
418 readFile(path: string): Promise<string>
419 /**
420 * Writes a file via the sandbox filesystem API. Bytes go through the E2B SDK,
421 * never a shell, so untrusted content (the assembled prompt, a commit message)

Callers 12

loadAuthorsFunction · 0.80
scanFrontmattersFunction · 0.80
getPostBySlugFunction · 0.80
readOutFunction · 0.80
parseJSONFunction · 0.80
parseJSONLFunction · 0.80
parseYAMLFunction · 0.80
convertAudioWithFFmpegFunction · 0.80
chunkMdxFileMethod · 0.80
handleLocalFileFunction · 0.80
readRemoteFileFunction · 0.80
runCloudPiFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected