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

Function isInPath

test/fixtures/snapshot/typescript.js:6714–6720  ·  view source on GitHub ↗
(path, searchPath)

Source from the content-addressed store, hash-verified

6712 isIgnoredByWatchOptions(path, options, useCaseSensitiveFileNames, getCurrentDirectory);
6713 }
6714 function isInPath(path, searchPath) {
6715 if (ts.stringContains(path, searchPath))
6716 return true;
6717 if (useCaseSensitiveFileNames)
6718 return false;
6719 return ts.stringContains(toCanonicalFilePath(path), searchPath);
6720 }
6721 }
6722 ts.createDirectoryWatcherSupportingRecursive = createDirectoryWatcherSupportingRecursive;
6723 /*@internal*/

Callers 1

isIgnoredPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected