(key)
| 115635 | watchDirectory: createExcludeHandlingAddWatch("watchDirectory") |
| 115636 | }; |
| 115637 | function createExcludeHandlingAddWatch(key) { |
| 115638 | return function (file, cb, flags, options, detailInfo1, detailInfo2) { |
| 115639 | var _a; |
| 115640 | return !ts.matchesExclude(file, key === "watchFile" ? options === null || options === void 0 ? void 0 : options.excludeFiles : options === null || options === void 0 ? void 0 : options.excludeDirectories, useCaseSensitiveFileNames(), ((_a = host.getCurrentDirectory) === null || _a === void 0 ? void 0 : _a.call(host)) || "") ? |
| 115641 | factory[key].call(/*thisArgs*/ undefined, file, cb, flags, options, detailInfo1, detailInfo2) : |
| 115642 | excludeWatcherFactory(file, flags, options, detailInfo1, detailInfo2); |
| 115643 | }; |
| 115644 | } |
| 115645 | function useCaseSensitiveFileNames() { |
| 115646 | return typeof host.useCaseSensitiveFileNames === "boolean" ? |
| 115647 | host.useCaseSensitiveFileNames : |
no test coverage detected
searching dependent graphs…