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

Function readConfigText

src/installer/targets/opencode.ts:115–118  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

113}
114
115function readConfigText(file: string): string {
116 if (!fs.existsSync(file)) return '';
117 return fs.readFileSync(file, 'utf-8');
118}
119
120function parseConfig(text: string): Record<string, any> {
121 if (!text.trim()) return {};

Callers 3

detectMethod · 0.70
writeMcpEntryFunction · 0.70
removeMcpEntryAtFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected