PURISTA API / @purista/sandbox / SandboxAdapter
Type Alias: SandboxAdapter
SandboxAdapter =
object
Defined in: sandbox-service/src/adapter/BashTool/createPuristaSandboxAdapter.ts:4
Properties
executeCommand()
executeCommand: (
command) =>Promise<ExecuteBashOutput>
Defined in: sandbox-service/src/adapter/BashTool/createPuristaSandboxAdapter.ts:5
Parameters
command
string
Returns
Promise<ExecuteBashOutput>
readFile()
readFile: (
path) =>Promise<string>
Defined in: sandbox-service/src/adapter/BashTool/createPuristaSandboxAdapter.ts:6
Parameters
path
string
Returns
Promise<string>
writeFiles()
writeFiles: (
files) =>Promise<void>
Defined in: sandbox-service/src/adapter/BashTool/createPuristaSandboxAdapter.ts:7
Parameters
files
object[]
Returns
Promise<void>
