MCPcopy
hub / github.com/perkeep/perkeep / Set

Method Set

pkg/blobserver/diskpacked/diskpacked_test.go:248–254  ·  view source on GitHub ↗
(key string, value string)

Source from the content-addressed store, hash-verified

246}
247
248func (idx *failingIndex) Set(key string, value string) error {
249 idx.setCount++
250 if idx.setCount == 1 { // fail the first time
251 return errDummy
252 }
253 return idx.KeyValue.Set(key, value)
254}
255
256func TestReadHeader(t *testing.T) {
257 tests := []struct {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected