jldb/mdb/index-internal.go

12 lines
202 B
Go
Raw Normal View History

2023-10-13 09:43:27 +00:00
package mdb
import "github.com/google/btree"
type indexState[T any] struct {
BTree *btree.BTreeG[*T]
}
func (i indexState[T]) clone() indexState[T] {
return indexState[T]{BTree: i.BTree.Clone()}
}