Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jesseduffield/lazygit
/ Delete
Method
Delete
pkg/utils/thread_safe_map.go:32–37 ·
view source on GitHub ↗
(key K)
Source
from the content-addressed store, hash-verified
30
}
31
32
func
(m *ThreadSafeMap[K, V]) Delete(key K) {
33
m.mutex.Lock()
34
defer
m.mutex.Unlock()
35
36
delete(m.innerMap, key)
37
}
38
39
func
(m *ThreadSafeMap[K, V]) Keys() []K {
40
m.mutex.RLock()
Callers
9
excludeBlankColumns
Function · 0.45
TestThreadSafeMap
Function · 0.45
RemoveUpdateRefsForCopiedBranch
Function · 0.45
dropMergeCommit
Function · 0.45
Remove
Function · 0.45
RemoveKey
Function · 0.45
remove
Method · 0.45
Call
Method · 0.45
Remove
Method · 0.45
Calls
no outgoing calls
Tested by
1
TestThreadSafeMap
Function · 0.36