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

Function readDirectory

test/fixtures/snapshot/typescript.js:7434–7436  ·  view source on GitHub ↗
(path, extensions, excludes, includes, depth)

Source from the content-addressed store, hash-verified

7432 }
7433 }
7434 function readDirectory(path, extensions, excludes, includes, depth) {
7435 return ts.matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames, process.cwd(), depth, getAccessibleFileSystemEntries, realpath);
7436 }
7437 function fileSystemEntryExists(path, entryKind) {
7438 // Since the error thrown by fs.statSync isn't used, we can avoid collecting a stack trace to improve
7439 // the CPU time performance.

Callers

nothing calls this directly

Calls 2

toPathFunction · 0.85
tryReadDirectoryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…