9 lines
126 B
Go
9 lines
126 B
Go
package mdb
|
|
|
|
func (i Index[T]) Dump(tx *Snapshot) (l []T) {
|
|
for t := range i.Ascend(tx) {
|
|
l = append(l, *t)
|
|
}
|
|
return l
|
|
}
|