MCPcopy
hub / github.com/anomalyco/opencode / read

Function read

packages/opencode/src/plugin/meta.ts:113–115  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

111}
112
113async function read(file: string): Promise<Store> {
114 return Filesystem.readJson<Store>(file).catch(() => ({}) as Store)
115}
116
117async function row(item: Touch): Promise<Row> {
118 return {

Callers 5

touchManyFunction · 0.70
setThemeFunction · 0.70
listFunction · 0.70
createLayerFunction · 0.50
auth.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected