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

Function readManifest

e2e/desktop-packaged/linux-vm/repro.mjs:57–61  ·  view source on GitHub ↗
(dataDir)

Source from the content-addressed store, hash-verified

55 });
56
57const readManifest = (dataDir) => {
58 const path = join(dataDir, "server-control", "server.json");
59 if (!existsSync(path)) return null;
60 return JSON.parse(readFileSync(path, "utf8"));
61};
62
63const waitFor = async (label, fn, timeoutMs) => {
64 const deadline = Date.now() + timeoutMs;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected