MCPcopy
hub / github.com/mislav/hub / Intersects

Method Intersects

github/client.go:1288–1295  ·  view source on GitHub ↗
(other scopeSet)

Source from the content-addressed store, hash-verified

1286}
1287
1288func (s scopeSet) Intersects(other scopeSet) bool {
1289 for scope := range s {
1290 if _, found := other[scope]; found {
1291 return true
1292 }
1293 }
1294 return false
1295}
1296
1297func newScopeSet(s string) scopeSet {
1298 scopes := scopeSet{}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected