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

Method Set

database/reconciliation_test.go:42–45  ·  view source on GitHub ↗
(ctx context.Context, key string, value interface{}, ttl time.Duration)

Source from the content-addressed store, hash-verified

40}
41
42func (m *mockCacheRecon) Set(ctx context.Context, key string, value interface{}, ttl time.Duration) error {
43 m.data[key] = value
44 return nil
45}
46
47func (m *mockCacheRecon) Get(ctx context.Context, key string, data interface{}) error {
48 if _, ok := m.data[key]; ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected