PURISTA API / @purista/sandbox / FilesystemSandboxAdapter
Type Alias: FilesystemSandboxAdapter
FilesystemSandboxAdapter =
object
Defined in: sandbox-service/src/adapter/local/createLocalFilesystemSandboxAdapter.ts:6
Properties
executeCommand()
executeCommand: (
command) =>Promise<{exitCode:number;stderr:string;stdout:string; }>
Defined in: sandbox-service/src/adapter/local/createLocalFilesystemSandboxAdapter.ts:7
Parameters
command
string
Returns
Promise<{ exitCode: number; stderr: string; stdout: string; }>
readFile()
readFile: (
path) =>Promise<string>
Defined in: sandbox-service/src/adapter/local/createLocalFilesystemSandboxAdapter.ts:8
Parameters
path
string
Returns
Promise<string>
writeFiles()
writeFiles: (
files) =>Promise<void>
Defined in: sandbox-service/src/adapter/local/createLocalFilesystemSandboxAdapter.ts:9
Parameters
files
object[]
Returns
Promise<void>
