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

Method read

packages/enterprise/src/core/storage.ts:6–6  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

4export namespace Storage {
5 export interface Adapter {
6 read(path: string): Promise<string | undefined>
7 write(path: string, value: string): Promise<void>
8 remove(path: string): Promise<void>
9 list(options?: { prefix?: string; limit?: number; after?: string; before?: string }): Promise<string[]>

Callers 15

[Symbol.asyncIterator]Function · 0.65
registerIpcHandlersFunction · 0.65
readAttachmentFunction · 0.65
pumpFunction · 0.65
readFunction · 0.65
PromptFunction · 0.65
pullFunction · 0.65
pullFunction · 0.65

Calls

no outgoing calls

Tested by 3

eventStreamFunction · 0.52
testFunction · 0.52