MCPcopy
hub / github.com/cubefs/cubefs / getBids

Method getBids

blobstore/blobnode/worker_for_test.go:260–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258}
259
260func (getter *MockGetter) getBids() []proto.BlobID {
261 getter.mu.Lock()
262 defer getter.mu.Unlock()
263 return getter.bids
264}
265
266func (getter *MockGetter) getShardCrc32(vuid proto.Vuid, bid proto.BlobID) uint32 {
267 getter.mu.Lock()

Callers 2

InitMockRepairFunction · 0.95
testDirectGetShardFunction · 0.80

Calls 2

LockMethod · 0.80
UnlockMethod · 0.45

Tested by

no test coverage detected