Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/zincsearch/zincsearch
/ Contains
Method
Contains
pkg/zutils/hash/rendezvous/rendezvous.go:90–95 ·
view source on GitHub ↗
(node string)
Source
from the content-addressed store, hash-verified
88
}
89
90
func
(r *Rendezvous) Contains(node string) bool {
91
r.lock.RLock()
92
_, ok := r.nodes[node]
93
r.lock.RUnlock()
94
return
ok
95
}
96
97
func
(r *Rendezvous) Add(node string) {
98
if
r.Contains(node) {
Callers
15
Add
Method · 0.95
HTTPCacheForUI
Function · 0.80
getPartValue
Function · 0.80
TestGetRenderer
Function · 0.80
NewMappingCharFilter
Function · 0.80
ParseFuzziness
Function · 0.80
TestLogin
Function · 0.80
TestCreateUpdateRole
Function · 0.80
TestListRole
Function · 0.80
TestDeleteRole
Function · 0.80
TestCreateUpdateUser
Function · 0.80
TestListUser
Function · 0.80
Calls
no outgoing calls
Tested by
15
TestGetRenderer
Function · 0.64
TestLogin
Function · 0.64
TestCreateUpdateRole
Function · 0.64
TestListRole
Function · 0.64
TestDeleteRole
Function · 0.64
TestCreateUpdateUser
Function · 0.64
TestListUser
Function · 0.64
TestDeleteUser
Function · 0.64
TestSearchV1
Function · 0.64
TestSearchDSL
Function · 0.64
TestMultipleSearch
Function · 0.64
assertHTTPResponse
Function · 0.64