(name: string)
| 200 | }; |
| 201 | |
| 202 | const isDirIgnored = (name: string) => { |
| 203 | if (IGNORED_DIRS.has(name)) return true; |
| 204 | if (config.skipTests && ['test', 'tests', '__tests__', 'spec', 'specs'].includes(name.toLowerCase())) return true; |
| 205 | return false; |
| 206 | }; |
| 207 | |
| 208 | const processFiles = async (files: { path: string, content: string }[], repoName: string = "local-project") => { |
| 209 | // Build fileContents map before the worker clears content for memory |