Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ Has
Method
Has
pkg/generic_sync/map.go:134–137 ·
view source on GitHub ↗
(key K)
Source
from the content-addressed store, hash-verified
132
}
133
134
func
(m *MapOf[K, V]) Has(key K) bool {
135
_, ok := m.Load(key)
136
return
ok
137
}
138
139
func
(e *entry[V]) load() (value V, ok bool) {
140
p := e.p.Load()
Callers
1
HasStorage
Function · 0.45
Calls
1
Load
Method · 0.95
Tested by
no test coverage detected