* The `deprioritize` predicate with the project's patterns read once, for a * loop that asks about many paths. The plain predicate re-checks * `codegraph.json` on every call, which a long query's candidate loops made * hundreds of thousands of times (#2620).
()
| 704 | * hundreds of thousands of times (#2620). |
| 705 | */ |
| 706 | getDeprioritizedPathSnapshot(): ((filePath: string) => boolean) | undefined { |
| 707 | const matcher = this.isDeprioritizedPath as DeprioritizedPathMatcher | undefined; |
| 708 | return matcher?.snapshot ? matcher.snapshot() : matcher; |
| 709 | } |
| 710 | |
| 711 | // =========================================================================== |
| 712 | // Node Operations |
no test coverage detected