* 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[])
| 2643 | * {@link getFileDependentCounts}; a test file's reach is what it exercises. |
| 2644 | */ |
| 2645 | getFileReachCounts(filePaths: string[]): Map<string, { reaches: number; refs: number }> { |
| 2646 | return new Map( |
| 2647 | this.queries |
| 2648 | .getFileReachCounts(filePaths) |
| 2649 | .map((row) => [row.filePath, { reaches: row.reaches, refs: row.refs }]) |
| 2650 | ); |
| 2651 | } |
| 2652 | |
| 2653 | /** The `file` nodes for the given paths, in one query. */ |
| 2654 | getFileNodes(filePaths: string[]): Node[] { |