(filePath: string, content: string)
| 1313 | * here on the main thread, where the codegraph.json overrides are loaded. |
| 1314 | */ |
| 1315 | const parseFile = (filePath: string, content: string): Promise<ExtractionResult> => { |
| 1316 | const language = detectLanguage(filePath, content, overrides); |
| 1317 | if (!pool) return Promise.resolve(extractFromSource(filePath, content, language, frameworkNames)); |
| 1318 | return pool.requestParse({ filePath, content, language, frameworkNames }); |
| 1319 | }; |
| 1320 | |
| 1321 | // --- Bounded rolling-window dispatch, ordered commit --- |
| 1322 | // Reads stay batched/parallel; parses run concurrently across the pool; the |
nothing calls this directly
no test coverage detected