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

Function windowsBinaryReady

pkg/npm/install.js:476–488  ·  view source on GitHub ↗
(destDir, verifier = verifyCandidate)

Source from the content-addressed store, hash-verified

474}
475
476function windowsBinaryReady(destDir, verifier = verifyCandidate) {
477 const binary = path.join(destDir, WINDOWS_BINARY_NAME);
478 try {
479 const status = fs.lstatSync(binary);
480 if (!status.isFile() || status.isSymbolicLink()) {
481 return false;
482 }
483 verifier(binary);
484 return true;
485 } catch (_) {
486 return false;
487 }
488}
489
490function pathMatchesDigest(candidatePath, expectedDigest) {
491 try {

Callers 2

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected