MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / NewIterator

Method NewIterator

driver/badger/snapshot.go:28–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (s *Snapshot) NewIterator() driver.IIterator {
29 tnx := s.db.NewTransaction(false)
30 it := &Iterator{
31 db: s.db,
32 it: tnx.NewIterator(badger.DefaultIteratorOptions),
33 txn: tnx,
34 }
35 return it
36}
37
38func (s *Snapshot) Close() {
39}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected