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

Method detect

src/installer/targets/qoder.ts:48–55  ·  view source on GitHub ↗
(loc: Location)

Source from the content-addressed store, hash-verified

46 }
47
48 detect(loc: Location): DetectionResult {
49 const file = settingsPath(loc);
50 return {
51 installed: fs.existsSync(configDir(loc)),
52 alreadyConfigured: hasCodegraphServer(file),
53 configPath: file,
54 };
55 }
56
57 install(loc: Location, _opts: InstallOptions): WriteResult {
58 const notes = ['This sets up the Qoder CLI. In the Qoder IDE, add the server under Settings > MCP.'];

Callers

nothing calls this directly

Calls 3

hasCodegraphServerFunction · 0.90
settingsPathFunction · 0.85
configDirFunction · 0.70

Tested by

no test coverage detected