mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
chore: remove unused and incorrect IsEmpty method from TargetIDSet (#20939)
This commit is contained in:
@@ -20,11 +20,6 @@ package event
|
||||
// TargetIDSet - Set representation of TargetIDs.
|
||||
type TargetIDSet map[TargetID]struct{}
|
||||
|
||||
// IsEmpty returns true if the set is empty.
|
||||
func (set TargetIDSet) IsEmpty() bool {
|
||||
return len(set) != 0
|
||||
}
|
||||
|
||||
// Clone - returns copy of this set.
|
||||
func (set TargetIDSet) Clone() TargetIDSet {
|
||||
setCopy := NewTargetIDSet()
|
||||
|
||||
Reference in New Issue
Block a user