(
target: string
)
| 450 | }; |
| 451 | |
| 452 | const collectImporters = ( |
| 453 | target: string |
| 454 | ): Array<{ importer: string; detail: ImportEdgeDetail | null }> => { |
| 455 | const matches: Array<{ importer: string; detail: ImportEdgeDetail | null }> = []; |
| 456 | for (const [dep, importers] of reverseImportsLocal) { |
| 457 | if (!pathsMatch(dep, target)) continue; |
| 458 | for (const importer of importers) { |
| 459 | matches.push({ importer, detail: findImportDetail(importDetails, importer, dep) }); |
| 460 | } |
| 461 | } |
| 462 | return matches; |
| 463 | }; |
| 464 | |
| 465 | // Hop 1 |
| 466 | const hop1Files: string[] = []; |
no test coverage detected