(filePath: string)
| 377 | } |
| 378 | |
| 379 | export function isSupportedFile(filePath: string): boolean { |
| 380 | const ext = extname(filePath).toLowerCase(); |
| 381 | if (detectLanguage(filePath) !== null) return true; |
| 382 | return getSupportedExtensions().includes(ext); |
| 383 | } |
| 384 | |
| 385 | export function flattenSymbols(symbols: CodeSymbol[], parentName?: string): SymbolLocation[] { |
| 386 | const out: SymbolLocation[] = []; |
no test coverage detected