MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / uninstall

Method uninstall

src/installer/targets/opencode.ts:191–197  ·  view source on GitHub ↗
(loc: Location)

Source from the content-addressed store, hash-verified

189 }
190
191 uninstall(loc: Location): WriteResult {
192 const files: WriteResult['files'] = [];
193 files.push(removeMcpEntryAt(configPath(loc)));
194 files.push(removeInstructionsEntry(loc));
195 if (loc === 'global') files.push(...cleanupLegacyWindowsState());
196 return { files };
197 }
198
199 printConfig(loc: Location): string {
200 const target = configPath(loc);

Callers

nothing calls this directly

Calls 5

removeMcpEntryAtFunction · 0.85
pushMethod · 0.80
configPathFunction · 0.70
removeInstructionsEntryFunction · 0.70

Tested by

no test coverage detected