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

Method IsEmpty

pkg/set/stringset.go:60–62  ·  view source on GitHub ↗

IsEmpty - returns whether the set is empty or not.

()

Source from the content-addressed store, hash-verified

58
59// IsEmpty - returns whether the set is empty or not.
60func (set StringSet) IsEmpty() bool {
61 return Set[string](set).IsEmpty()
62}
63
64// Add - adds string to the set.
65func (set StringSet) Add(s string) {

Callers 4

removeBucketActionsFunction · 0.95
removeStatementsFunction · 0.95
GetPolicyFunction · 0.95
TestNewStringSetFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNewStringSetFunction · 0.76