* Matcher for the project's `codegraph.json` `includeIgnored` patterns — the * explicit opt-in to index embedded git repos living inside gitignored * directories (#622, #699). Returns `null` when the project opted in nothing, * which is the zero-config DEFAULT: `.gitignore` is then fully respecte
(rootDir: string)
| 685 | * root and threaded down — never global, so multi-project daemons stay isolated. |
| 686 | */ |
| 687 | function loadIncludeIgnoredMatcher(rootDir: string): Ignore | null { |
| 688 | const patterns = loadIncludeIgnoredPatterns(rootDir); |
| 689 | return patterns.length > 0 ? ignore().add(patterns) : null; |
| 690 | } |
| 691 | |
| 692 | /** |
| 693 | * Matcher for the project's `codegraph.json` `exclude` patterns — paths to keep |
no test coverage detected