MCPcopy Create free account
hub / github.com/DNAProject/DNA / First

Method First

core/store/overlaydb/iterator.go:54–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func (iter *JoinIter) First() bool {
55 f := iter.first()
56 if f == false {
57 return false
58 }
59 for len(iter.value) == 0 {
60 if iter.next() == false {
61 return false
62 }
63 }
64
65 return true
66}
67
68func (iter *JoinIter) first() bool {
69 var bkey, bval, mkey, mval []byte

Callers

nothing calls this directly

Calls 2

firstMethod · 0.95
nextMethod · 0.95

Tested by

no test coverage detected