MCPcopy Create free account
hub / github.com/compozy/agh / Read

Method Read

internal/memory/contract/types.go:181–181  ·  view source on GitHub ↗
(scope Scope, filename string)

Source from the content-addressed store, hash-verified

179type Backend interface {
180 List(scope Scope) ([]Header, error)
181 Read(scope Scope, filename string) ([]byte, error)
182 Write(scope Scope, filename string, content []byte) error
183 Delete(scope Scope, filename string) error
184 Search(ctx context.Context, query string, opts SearchOptions) ([]SearchResult, error)

Callers 15

ReadMethod · 0.65
ReadMethod · 0.65
ReadMethod · 0.65
ioCopyLimitFunction · 0.65
ReadMethod · 0.65
ReadMethod · 0.65
ReadMethod · 0.65
ReadMethod · 0.65
ReadMethod · 0.65
ReadMethod · 0.65
captureStdoutMethod · 0.65

Implementers 1

Storeinternal/memory/store.go

Calls

no outgoing calls

Tested by 15

ReadMethod · 0.52
ReadMethod · 0.52
ReadMethod · 0.52
ReadMethod · 0.52
ReadMethod · 0.52
TestStoreReadMissingFileFunction · 0.52
TestAdapterFunction · 0.52