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

Function matchesExclude

test/fixtures/snapshot/typescript.js:42099–42101  ·  view source on GitHub ↗
(pathToCheck, excludeSpecs, useCaseSensitiveFileNames, currentDirectory)

Source from the content-addressed store, hash-verified

42097 }
42098 /* @internal */
42099 function matchesExclude(pathToCheck, excludeSpecs, useCaseSensitiveFileNames, currentDirectory) {
42100 return matchesExcludeWorker(pathToCheck, ts.filter(excludeSpecs, function (spec) { return !invalidDotDotAfterRecursiveWildcard(spec); }), useCaseSensitiveFileNames, currentDirectory);
42101 }
42102 ts.matchesExclude = matchesExclude;
42103 function matchesExcludeWorker(pathToCheck, excludeSpecs, useCaseSensitiveFileNames, currentDirectory, basePath) {
42104 var excludePattern = ts.getRegularExpressionForWildcard(excludeSpecs, ts.combinePaths(ts.normalizePath(currentDirectory), basePath), "exclude");

Callers

nothing calls this directly

Calls 3

matchesExcludeWorkerFunction · 0.85
filterMethod · 0.65

Tested by

no test coverage detected