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

Function sha

scripts/regression/gate.mjs:121–121  ·  view source on GitHub ↗
(algorithm, data)

Source from the content-addressed store, hash-verified

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
123function generatedProjects() {
124 const kernel = join(work, 'kernel');

Callers 2

realFileProjectsFunction · 0.85
graphOfFunction · 0.85

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected