Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
85
func
Delete(key string) {
86
if
locker == nil {
87
panic(
"no locker is registered"
)
88
}
89
90
locker.Delete(key)
91
}
92
93
func
RegisterLocker(lock Locker) error {
94
lockerMux.Lock()
Callers
2
TestLockerPanicsIfNotInitialized
Method · 0.85
TestLockerDelete
Method · 0.85
Calls
1
Delete
Method · 0.65
Tested by
2
TestLockerPanicsIfNotInitialized
Method · 0.68
TestLockerDelete
Method · 0.68