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

Function NewStringSet

pkg/set/stringset.go:147–149  ·  view source on GitHub ↗

NewStringSet - creates new string set.

()

Source from the content-addressed store, hash-verified

145
146// NewStringSet - creates new string set.
147func NewStringSet() StringSet {
148 return StringSet(New[string]())
149}
150
151// CreateStringSet - creates new string set with given string values.
152func CreateStringSet(sl ...string) StringSet {

Callers 15

EqualEventTypeListFunction · 0.92
EqualFilterRuleListFunction · 0.92
AddTopicMethod · 0.92
AddQueueMethod · 0.92
AddLambdaMethod · 0.92
removeBucketActionsFunction · 0.92
removeStatementsFunction · 0.92
GetPolicyFunction · 0.92
GetPoliciesFunction · 0.92
TestStringSetMsgsizeFunction · 0.85

Calls 1

StringSetTypeAlias · 0.85

Tested by 11

TestStringSetMsgsizeFunction · 0.68
TestNewStringSetFunction · 0.68
TestStringSetAddFunction · 0.68
TestStringSetDifferenceFunction · 0.68
TestStringSetMarshalJSONFunction · 0.68
TestStringSetStringFunction · 0.68
TestStringSetToSliceFunction · 0.68