(newConfig: Partial<typeof config>)
| 194 | }, [isConfigOpen]); |
| 195 | |
| 196 | const updateConfig = (newConfig: Partial<typeof config>) => { |
| 197 | const updated = { ...config, ...newConfig }; |
| 198 | setConfig(updated); |
| 199 | localStorage.setItem('cgc_indexer_config', JSON.stringify(updated)); |
| 200 | }; |
| 201 | |
| 202 | const isDirIgnored = (name: string) => { |
| 203 | if (IGNORED_DIRS.has(name)) return true; |