Skip to content

PathProbeDeps

Defined in: src/sandbox.ts:65

Injectable host probes shared by detection + flag construction.

optional exists?: (p) => boolean

Defined in: src/sandbox.ts:69

Existence probe; default fs.existsSync.

string

boolean


optional readdir?: (p) => string[]

Defined in: src/sandbox.ts:71

Directory listing; default a safe readdirSync wrapper returning [] on error.

string

string[]


optional run?: (cmd, args) => object

Defined in: src/sandbox.ts:67

Run a command; default uses the repo-wrapped execFileSync. Returns its exit status.

string

string[]

object

status: number