MCPcopy
hub / github.com/perkeep/perkeep / Lock

Method Lock

pkg/index/index.go:90–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90func (x *Index) Lock() { x.mu.Lock() }
91func (x *Index) Unlock() { x.mu.Unlock() }
92func (x *Index) RLock() { x.mu.RLock() }
93func (x *Index) RUnlock() { x.mu.RUnlock() }

Callers 15

InitBlobSourceMethod · 0.95
ReindexMethod · 0.95
indexReadyBlobsMethod · 0.95
ReceiveBlobMethod · 0.95
Exp_noteBlobIndexedMethod · 0.95
UploadMethod · 0.80
UpdateShareChainMethod · 0.80
StatsMethod · 0.80
PrintfFunction · 0.80
IncrMethod · 0.80
SetMethod · 0.80
androidLookupHostFunction · 0.80

Calls

no outgoing calls

Tested by 11

Exp_noteBlobIndexedMethod · 0.76
NewTestStorageFunction · 0.64
NewDiskStorageFunction · 0.64
NewStorageFunction · 0.64
TestPackerBoundarySplitsFunction · 0.64
Exp_BlobSourceMethod · 0.64
TestInitNeededMapsFunction · 0.64
testMethod · 0.64
TestWriteThenReadFunction · 0.64
condSkipFunction · 0.64
testLeakFunction · 0.64