Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/discourse/discourse-auth-proxy
/ ContainsAny
Method
ContainsAny
string_set.go:25–32 ·
view source on GitHub ↗
(needles StringSet)
Source
from the content-addressed store, hash-verified
23
}
24
25
func
(ss StringSet) ContainsAny(needles StringSet) bool {
26
for
_, n :=
range
needles {
27
if
ss.Contains(n) {
28
return
true
29
}
30
}
31
return
false
32
}
Callers
1
redirectIfNoCookie
Function · 0.80
Calls
1
Contains
Method · 0.95
Tested by
no test coverage detected