MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / verifyCandidate

Function verifyCandidate

pkg/npm/install.js:344–350  ·  view source on GitHub ↗
(candidatePath)

Source from the content-addressed store, hash-verified

342}
343
344function verifyCandidate(candidatePath) {
345 execFileSync(candidatePath, ['--version'], {
346 stdio: ['ignore', 'pipe', 'pipe'],
347 timeout: CANDIDATE_TIMEOUT_MS,
348 windowsHide: true,
349 });
350}
351
352function fileSha256(candidatePath) {
353 const digest = crypto.createHash('sha256');

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected