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

Method Contains

pkg/set/set.go:82–85  ·  view source on GitHub ↗

Contains - checks if element is in the set.

(s T)

Source from the content-addressed store, hash-verified

80
81// Contains - checks if element is in the set.
82func (set Set[T]) Contains(s T) bool {
83 _, ok := set[s]
84 return ok
85}
86
87// FuncMatch - returns new set containing each value that passes match function.
88// A 'matchFn' should accept element in a set as first argument and

Callers 15

doMethod · 0.45
executeMethodMethod · 0.45
makeTargetURLMethod · 0.45
isValidEndpointURLFunction · 0.45
IsNetworkOrHostDownFunction · 0.45
TestPostPolicySetExpiresFunction · 0.45
TestPostPolicySetKeyFunction · 0.45
TestPostPolicySetBucketFunction · 0.45
TestPostPolicySetTaggingFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestPostPolicySetExpiresFunction · 0.36
TestPostPolicySetKeyFunction · 0.36
TestPostPolicySetBucketFunction · 0.36
TestPostPolicySetTaggingFunction · 0.36
TestRequestHostFunction · 0.36