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

Method uninstall

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

Source from the content-addressed store, hash-verified

165 }
166
167 uninstall(loc: Location): WriteResult {
168 const files: WriteResult['files'] = [];
169 files.push(removeMcpEntryAt(configPath(loc)));
170 files.push(removeInstructionsEntry(loc));
171 if (loc === 'global') files.push(...cleanupLegacyWindowsState());
172 return { files };
173 }
174
175 printConfig(loc: Location): string {
176 const target = configPath(loc);

Callers

nothing calls this directly

Calls 4

removeMcpEntryAtFunction · 0.85
configPathFunction · 0.70
removeInstructionsEntryFunction · 0.70

Tested by

no test coverage detected