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

Method Value

engine/iterator.go:49–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (it *Iterator) Value() ([]byte, error) {
50 logRecordPst := it.indexIter.Value()
51 it.db.lock.RLock()
52 defer it.db.lock.RUnlock()
53
54 return it.db.getValueByPosition(logRecordPst)
55}
56
57func (it *Iterator) Close() {
58 it.indexIter.Close()

Callers 1

Calls 2

getValueByPositionMethod · 0.80
ValueMethod · 0.65

Tested by 1