MCPcopy Index your code
hub / github.com/anomalyco/opencode / readConfigFile

Function readConfigFile

packages/opencode/src/config/config.ts:185–185  ·  view source on GitHub ↗
(filepath: string)

Source from the content-addressed store, hash-verified

183 const http = yield* HttpClient.HttpClient
184
185 const readConfigFile = (filepath: string) => fs.readFileStringSafe(filepath).pipe(Effect.orDie)
186
187 const fetchRemoteJson = Effect.fnUntraced(function* <S extends Schema.Top>(
188 url: string,

Callers 1

config.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected