(filePath: string)
| 44 | }; |
| 45 | |
| 46 | export function detectLanguage(filePath: string): string { |
| 47 | const ext = filePath.toLowerCase().match(/\.[^.]+$/)?.[0] || ""; |
| 48 | return extensionMap[ext] || "plaintext"; |
| 49 | } |
no outgoing calls
no test coverage detected