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

Method Union

pkg/set/stringset.go:112–114  ·  view source on GitHub ↗

Union - returns the union with given set as new set.

(sset StringSet)

Source from the content-addressed store, hash-verified

110
111// Union - returns the union with given set as new set.
112func (set StringSet) Union(sset StringSet) StringSet {
113 return StringSet(Set[string](set).Union(Set[string](sset)))
114}
115
116// MarshalJSON - converts to JSON data.
117func (set StringSet) MarshalJSON() ([]byte, error) {

Callers 1

removeStatementsFunction · 0.95

Calls 1

StringSetTypeAlias · 0.85

Tested by

no test coverage detected