MCPcopy Create free account
hub / github.com/blobcache/blobcache / Drop

Method Drop

src/bccore/handles.go:45–50  ·  view source on GitHub ↗
(h blobcache.Handle)

Source from the content-addressed store, hash-verified

43}
44
45func (hs *handleSystem) Drop(h blobcache.Handle) {
46 k := handleKey(h)
47 hs.mu.Lock()
48 defer hs.mu.Unlock()
49 hs.dropHandleNoLock(k)
50}
51
52func (hs *handleSystem) dropHandleNoLock(k [32]byte) {
53 if hs.handles == nil {

Callers

nothing calls this directly

Calls 4

dropHandleNoLockMethod · 0.95
handleKeyFunction · 0.85
LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected