* 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)
| 319 | * root and threaded down — never global, so multi-project daemons stay isolated. |
| 320 | */ |
| 321 | function loadIncludeIgnoredMatcher(rootDir: string): Ignore | null { |
| 322 | const patterns = loadIncludeIgnoredPatterns(rootDir); |
| 323 | return patterns.length > 0 ? ignore().add(patterns) : null; |
| 324 | } |
| 325 | |
| 326 | /** |
| 327 | * Matcher for the project's `codegraph.json` `exclude` patterns — paths to keep |
no test coverage detected