Last `::` / `.` / `/`-separated segment of a qualified symbol.
(symbol: string)
| 91 | |
| 92 | /** Last `::` / `.` / `/`-separated segment of a qualified symbol. */ |
| 93 | function lastQualifierPart(symbol: string): string { |
| 94 | const parts = symbol.split(/::|[./]/).filter((p) => p.length > 0); |
| 95 | return parts[parts.length - 1] ?? symbol; |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Calculate the recommended number of codegraph_explore calls based on project size. |
no outgoing calls
no test coverage detected