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

Method uninstall

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

Source from the content-addressed store, hash-verified

192 }
193
194 uninstall(loc: Location): WriteResult {
195 const files: WriteResult['files'] = [];
196 files.push(removeMcpEntryAt(configPath(loc)));
197 files.push(removeInstructionsEntry(loc));
198 if (loc === 'global') files.push(...cleanupLegacyWindowsState());
199 return { files };
200 }
201
202 printConfig(loc: Location): string {
203 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