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

Function windowsBinaryReady

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

Source from the content-addressed store, hash-verified

336}
337
338function windowsBinaryReady(destDir, verifier = verifyCandidate) {
339 const binary = path.join(destDir, WINDOWS_BINARY_NAME);
340 try {
341 const status = fs.lstatSync(binary);
342 if (!status.isFile() || status.isSymbolicLink()) {
343 return false;
344 }
345 verifier(binary);
346 return true;
347 } catch (_) {
348 return false;
349 }
350}
351
352function pathMatchesDigest(candidatePath, expectedDigest) {
353 try {

Callers 2

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected