MCPcopy
hub / github.com/grafana/dskit / GetMultiWithError

Method GetMultiWithError

cache/mock.go:238–241  ·  view source on GitHub ↗
(ctx context.Context, keys []string, opts ...Option)

Source from the content-addressed store, hash-verified

236}
237
238func (m *ErroringMockCache) GetMultiWithError(ctx context.Context, keys []string, opts ...Option) (map[string][]byte, error) {
239 result, _ := m.MockCache.GetMultiWithError(ctx, keys, opts...)
240 return result, m.GetMultiErr
241}

Callers 1

GetMultiMethod · 0.95

Calls 1

GetMultiWithErrorMethod · 0.65

Tested by

no test coverage detected