* 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)
| 304 | * root and threaded down — never global, so multi-project daemons stay isolated. |
| 305 | */ |
| 306 | function loadIncludeIgnoredMatcher(rootDir: string): Ignore | null { |
| 307 | const patterns = loadIncludeIgnoredPatterns(rootDir); |
| 308 | return patterns.length > 0 ? ignore().add(patterns) : null; |
| 309 | } |
| 310 | |
| 311 | /** |
| 312 | * Matcher for the project's `codegraph.json` `exclude` patterns — paths to keep |
no test coverage detected