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

Function readText

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

Source from the content-addressed store, hash-verified

113}
114
115function readText(file: string): string {
116 try {
117 return fs.readFileSync(file, 'utf-8');
118 } catch {
119 return '';
120 }
121}
122
123function writeHermesConfig(): WriteResult['files'][number] {
124 const file = configPath();

Callers 3

detectMethod · 0.85
uninstallMethod · 0.85
writeHermesConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected