MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / writeState

Function writeState

e2e/scripts/cli.ts:56–59  ·  view source on GitHub ↗
(state: InstanceState)

Source from the content-addressed store, hash-verified

54 }
55};
56const writeState = (state: InstanceState) => {
57 mkdirSync(devDir, { recursive: true });
58 writeFileSync(statePath(state.target), JSON.stringify(state, null, 1));
59};
60
61const alive = (pid: number): boolean => {
62 try {

Callers 1

runFunction · 0.85

Calls 1

statePathFunction · 0.85

Tested by

no test coverage detected