* How many other files depend on each of the given files, counted through * their symbols (an `imports` edge points at the symbol, not the file). * A zero means nothing else in the index reaches into that file.
(filePaths: string[])
| 2536 | * A zero means nothing else in the index reaches into that file. |
| 2537 | */ |
| 2538 | getFileDependentCounts(filePaths: string[]): Map<string, number> { |
| 2539 | return new Map( |
| 2540 | this.queries.getFileDependentCounts(filePaths).map((row) => [row.filePath, row.dependents]) |
| 2541 | ); |
| 2542 | } |
| 2543 | |
| 2544 | /** |
| 2545 | * How far each of the given files reaches out: distinct other files their |