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

Function read

packages/opencode/test/plugin/install.test.ts:105–109  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

103}
104
105async function read(file: string) {
106 return Filesystem.readJson<{
107 plugin?: unknown[]
108 }>(file)
109}
110
111describe("plugin.install.task", () => {
112 test("writes both server and tui config entries", async () => {

Callers 2

install.test.tsFile · 0.70
clientFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected