MCPcopy
hub / github.com/minio/minio-go / Intersection

Method Intersection

pkg/set/stringset.go:102–104  ·  view source on GitHub ↗

Intersection - returns the intersection with given set as new set.

(sset StringSet)

Source from the content-addressed store, hash-verified

100
101// Intersection - returns the intersection with given set as new set.
102func (set StringSet) Intersection(sset StringSet) StringSet {
103 return StringSet(Set[string](set).Intersection(Set[string](sset)))
104}
105
106// Difference - returns the difference with given set as new set.
107func (set StringSet) Difference(sset StringSet) StringSet {

Callers 4

AddTopicMethod · 0.95
AddQueueMethod · 0.95
AddLambdaMethod · 0.95
removeStatementsFunction · 0.95

Calls 1

StringSetTypeAlias · 0.85

Tested by

no test coverage detected