(filePath: string, content: string)
| 1675 | * here on the main thread, where the codegraph.json overrides are loaded. |
| 1676 | */ |
| 1677 | const parseFile = (filePath: string, content: string): Promise<ExtractionResult> => { |
| 1678 | const language = detectLanguage(filePath, content, overrides); |
| 1679 | if (!pool) return Promise.resolve(extractFromSource(filePath, content, language, frameworkNames)); |
| 1680 | return pool.requestParse({ filePath, content, language, frameworkNames }); |
| 1681 | }; |
| 1682 | |
| 1683 | // --- Bounded rolling-window dispatch, ordered commit --- |
| 1684 | // Reads stay batched/parallel; parses run concurrently across the pool; the |
nothing calls this directly
no test coverage detected