MCPcopy 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
25func (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

redirectIfNoCookieFunction · 0.80

Calls 1

ContainsMethod · 0.95

Tested by

no test coverage detected