MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / updateConfig

Function updateConfig

website/src/components/LocalUploader.tsx:196–200  ·  view source on GitHub ↗
(newConfig: Partial<typeof config>)

Source from the content-addressed store, hash-verified

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;

Callers 1

LocalUploaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected