()
| 26 | } |
| 27 | |
| 28 | func (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 | |
| 38 | func (s *Snapshot) Close() { |
| 39 | } |
nothing calls this directly
no outgoing calls
no test coverage detected