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

Function statePath

e2e/scripts/cli.ts:48–48  ·  view source on GitHub ↗
(target: string)

Source from the content-addressed store, hash-verified

46}
47
48const statePath = (target: string) => join(devDir, `${target}.json`);
49const readState = (target: string): InstanceState | undefined => {
50 try {
51 return JSON.parse(readFileSync(statePath(target), "utf8")) as InstanceState;

Callers 5

readStateFunction · 0.85
writeStateFunction · 0.85
upFunction · 0.85
shutdownFunction · 0.85
downFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected