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

Function tryGetDirectories

test/fixtures/snapshot/typescript.js:129119–129121  ·  view source on GitHub ↗
(host, directoryName)

Source from the content-addressed store, hash-verified

129117 }
129118 ts.probablyUsesSemicolons = probablyUsesSemicolons;
129119 function tryGetDirectories(host, directoryName) {
129120 return tryIOAndConsumeErrors(host, host.getDirectories, directoryName) || [];
129121 }
129122 ts.tryGetDirectories = tryGetDirectories;
129123 function tryReadDirectory(host, path, extensions, exclude, include) {
129124 return tryIOAndConsumeErrors(host, host.readDirectory, path, extensions, exclude, include) || ts.emptyArray;

Callers

nothing calls this directly

Calls 1

tryIOAndConsumeErrorsFunction · 0.85

Tested by

no test coverage detected