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

Method Remove

pkg/set/set.go:77–79  ·  view source on GitHub ↗

Remove - removes element from the set. It does nothing if element does not exist in the set.

(s T)

Source from the content-addressed store, hash-verified

75
76// Remove - removes element from the set. It does nothing if element does not exist in the set.
77func (set Set[T]) Remove(s T) {
78 delete(set, s)
79}
80
81// Contains - checks if element is in the set.
82func (set Set[T]) Contains(s T) bool {

Callers 15

FGetObjectMethod · 0.45
testFPutObjectFunction · 0.45
testFPutObjectContextFunction · 0.45
testFPutObjectContextV2Function · 0.45
testSSECEncryptionFPutFunction · 0.45
testSSES3EncryptionFPutFunction · 0.45
testFunctionalFunction · 0.45
testFPutObjectV2Function · 0.45
testFunctionalV2Function · 0.45
testFGetObjectContextFunction · 0.45
testFGetObjectContextV2Function · 0.45

Calls

no outgoing calls

Tested by 6

TestStsFunction · 0.36
TestStsCnFunction · 0.36
TestIntSetRemoveFunction · 0.36
TestStringSetRemoveFunction · 0.36
ExampleFunction · 0.36
ExampleCopyFunction · 0.36