MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / ARTreeIterator

Struct ARTreeIterator

engine/index/art.go:66–70  ·  view source on GitHub ↗

ART Index iterator

Source from the content-addressed store, hash-verified

64
65// ART Index iterator
66type ARTreeIterator struct {
67 currIndex int // The subscript position of the current traversal
68 reverse bool // Whether it is reverse traversal
69 values []*Item // Key + Location index information
70}
71
72func NewARTreeIterator(tree art.Tree, reverse bool) *ARTreeIterator {
73 // Estimate the expected slice capacity based on tree size

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected