(filePath: string)
| 460 | // ============================================================================ |
| 461 | |
| 462 | function getLanguageFromPath(filePath: string): string | null { |
| 463 | const ext = extname(filePath).toLowerCase() |
| 464 | return EXTENSION_TO_LANGUAGE[ext] || null |
| 465 | } |
| 466 | |
| 467 | function extractToolStats(log: LogOption): { |
| 468 | toolCounts: Record<string, number> |