mirror of
https://github.com/minio/minio.git
synced 2025-04-19 02:05:24 -04:00
chore: remove unused and incorrect IsEmpty method from TargetIDSet (#20939)
This commit is contained in:
parent
60446e7ac0
commit
d0e443172d
@ -20,11 +20,6 @@ package event
|
|||||||
// TargetIDSet - Set representation of TargetIDs.
|
// TargetIDSet - Set representation of TargetIDs.
|
||||||
type TargetIDSet map[TargetID]struct{}
|
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.
|
// Clone - returns copy of this set.
|
||||||
func (set TargetIDSet) Clone() TargetIDSet {
|
func (set TargetIDSet) Clone() TargetIDSet {
|
||||||
setCopy := NewTargetIDSet()
|
setCopy := NewTargetIDSet()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user