MCPcopy Index your code
hub / github.com/nodejs/node / hasEntry

Function hasEntry

test/fixtures/snapshot/typescript.js:115280–115282  ·  view source on GitHub ↗
(entries, name)

Source from the content-addressed store, hash-verified

115278 return getCanonicalFileName(name1) === getCanonicalFileName(name2);
115279 }
115280 function hasEntry(entries, name) {
115281 return ts.some(entries, function (file) { return fileNameEqual(file, name); });
115282 }
115283 function updateFileSystemEntry(entries, baseName, isValid) {
115284 if (hasEntry(entries, baseName)) {
115285 if (!isValid) {

Callers 3

updateFileSystemEntryFunction · 0.85
fileExistsFunction · 0.85

Calls 2

fileNameEqualFunction · 0.85
someMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…