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

Function tryDirectoryExists

test/fixtures/snapshot/typescript.js:129131–129133  ·  view source on GitHub ↗
(host, path)

Source from the content-addressed store, hash-verified

129129 }
129130 ts.tryFileExists = tryFileExists;
129131 function tryDirectoryExists(host, path) {
129132 return tryAndIgnoreErrors(function () { return ts.directoryProbablyExists(path, host); }) || false;
129133 }
129134 ts.tryDirectoryExists = tryDirectoryExists;
129135 function tryAndIgnoreErrors(cb) {
129136 try {

Callers

nothing calls this directly

Calls 1

tryAndIgnoreErrorsFunction · 0.85

Tested by

no test coverage detected