MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / Get

Method Get

database/reconciliation_test.go:47–52  ·  view source on GitHub ↗
(ctx context.Context, key string, data interface{})

Source from the content-addressed store, hash-verified

45}
46
47func (m *mockCacheRecon) Get(ctx context.Context, key string, data interface{}) error {
48 if _, ok := m.data[key]; ok {
49 return nil
50 }
51 return errors.New("cache miss")
52}
53
54func (m *mockCacheRecon) Delete(ctx context.Context, key string) error {
55 delete(m.data, key)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected