(pathToCheck, excludeSpecs, useCaseSensitiveFileNames, currentDirectory)
| 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"); |
nothing calls this directly
no test coverage detected