* Find all files that import a given source * This is "Find Usages" - the key value
(importSource: string)
| 90 | * This is "Find Usages" - the key value |
| 91 | */ |
| 92 | getUsages(importSource: string): ComponentUsageInfo { |
| 93 | const normalized = this.normalizeSource(importSource) || importSource; |
| 94 | const usages = this.usages.get(normalized) || []; |
| 95 | |
| 96 | return { |
| 97 | usedIn: usages, |
| 98 | usageCount: usages.length |
| 99 | }; |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Get full usage stats for all tracked imports |
nothing calls this directly
no test coverage detected