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

Function read

packages/opencode/test/session/revert-compact.test.ts:88–88  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

86})
87
88const read = (file: string) => Effect.promise(() => fs.readFile(file, "utf-8"))
89const write = (file: string, text: string) => Effect.promise(() => fs.writeFile(file, text))
90
91const tokens = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected