(h blobcache.Handle)
| 43 | } |
| 44 | |
| 45 | func (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 | |
| 52 | func (hs *handleSystem) dropHandleNoLock(k [32]byte) { |
| 53 | if hs.handles == nil { |
nothing calls this directly
no test coverage detected