(filePath: string, content: string)
| 1737 | * here on the main thread, where the codegraph.json overrides are loaded. |
| 1738 | */ |
| 1739 | const parseFile = (filePath: string, content: string): Promise<ExtractionResult> => { |
| 1740 | const language = detectLanguage(filePath, content, overrides); |
| 1741 | if (!pool) return Promise.resolve(extractFromSource(filePath, content, language, frameworkNames)); |
| 1742 | return pool.requestParse({ filePath, content, language, frameworkNames }); |
| 1743 | }; |
| 1744 | |
| 1745 | // --- Bounded rolling-window dispatch, ordered commit --- |
| 1746 | // Reads stay batched/parallel; parses run concurrently across the pool; the |
nothing calls this directly
no test coverage detected