* How far each of the given files reaches out: distinct other files their * symbols touch, and how many references that is. The mirror of * getFileDependentCounts; a test file's reach is what it exercises.
(filePaths: string[])
| 2625 | * {@link getFileDependentCounts}; a test file's reach is what it exercises. |
| 2626 | */ |
| 2627 | getFileReachCounts(filePaths: string[]): Map<string, { reaches: number; refs: number }> { |
| 2628 | return new Map( |
| 2629 | this.queries |
| 2630 | .getFileReachCounts(filePaths) |
| 2631 | .map((row) => [row.filePath, { reaches: row.reaches, refs: row.refs }]) |
| 2632 | ); |
| 2633 | } |
| 2634 | |
| 2635 | /** The `file` nodes for the given paths, in one query. */ |
| 2636 | getFileNodes(filePaths: string[]): Node[] { |