MCPcopy Create free account
hub / github.com/cloudbase/garm / Delete

Function Delete

locking/locking.go:85–91  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

83}
84
85func Delete(key string) {
86 if locker == nil {
87 panic("no locker is registered")
88 }
89
90 locker.Delete(key)
91}
92
93func RegisterLocker(lock Locker) error {
94 lockerMux.Lock()

Callers 2

TestLockerDeleteMethod · 0.85

Calls 1

DeleteMethod · 0.65

Tested by 2

TestLockerDeleteMethod · 0.68