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

Function CreateStringSet

pkg/set/stringset.go:152–154  ·  pkg/set/stringset.go::CreateStringSet

CreateStringSet - creates new string set with given string values.

(sl ...string)

Source from the content-addressed store, hash-verified

150
151// CreateStringSet - creates new string set with given string values.
152func CreateStringSet(sl ...string) StringSet {
153 return StringSet(Create(sl...))
154}
155
156// CopyStringSet - returns copy of given set.
157func CopyStringSet(set StringSet) StringSet {

Callers 15

retry.goFile · 0.92
bucket-policy.goFile · 0.92
UnmarshalJSONMethod · 0.92
newBucketStatementFunction · 0.92
newObjectStatementFunction · 0.92
TestIsValidStatementFunction · 0.92
TestGetInUsePolicyFunction · 0.92
TestRemoveStatementsFunction · 0.92
TestAppendStatementFunction · 0.92
TestGetBucketPolicyFunction · 0.92
TestGetObjectPolicyFunction · 0.92
TestListBucketPoliciesFunction · 0.92

Calls 2

StringSetTypeAlias · 0.85
CreateFunction · 0.85

Tested by 15

TestIsValidStatementFunction · 0.74
TestGetInUsePolicyFunction · 0.74
TestRemoveStatementsFunction · 0.74
TestAppendStatementFunction · 0.74
TestGetBucketPolicyFunction · 0.74
TestGetObjectPolicyFunction · 0.74
TestListBucketPoliciesFunction · 0.74
TestGetPolicyFunction · 0.74
TestSetPolicyFunction · 0.74
TestConditionKeyMapAddFunction · 0.74