MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / Read

Method Read

pkg/go/cmd/codebase-memory-mcp/main_test.go:39–44  ·  view source on GitHub ↗
(buffer []byte)

Source from the content-addressed store, hash-verified

37type zeroReader struct{}
38
39func (zeroReader) Read(buffer []byte) (int, error) {
40 for index := range buffer {
41 buffer[index] = 0
42 }
43 return len(buffer), nil
44}
45
46func assertRuntimeTag(t *testing.T, directory, binaryName, tag string) {
47 t.Helper()

Callers 2

copyRuntimeStageFunction · 0.80
runtimeSetLockTokenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected