MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / run

Function run

scripts/regression/gate.mjs:118–119  ·  view source on GitHub ↗
(command, commandArgs, options = {})

Source from the content-addressed store, hash-verified

116const notes = [];
117const fail = (check, project, what) => failures.push({ check, project, what });
118const run = (command, commandArgs, options = {}) =>
119 spawnSync(command, commandArgs, { encoding: 'utf8', maxBuffer: 2 ** 30, ...options, env: { ...env, ...(options.env ?? {}) } });
120const folders = (dir) => (existsSync(dir) ? readdirSync(dir).filter((name) => statSync(join(dir, name)).isDirectory()).sort() : []);
121const sha = (algorithm, data) => createHash(algorithm).update(data).digest('hex');
122

Callers 5

generatedProjectsFunction · 0.70
engineProjectFunction · 0.70
realFileProjectsFunction · 0.70
indexedFunction · 0.70
growthFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected