()
| 15 | } |
| 16 | |
| 17 | func (s *Snapshot) NewIterator() driver.IIterator { |
| 18 | it := &Iterator{ |
| 19 | s.snp.NewIterator(nil, s.db.iteratorOpts), |
| 20 | } |
| 21 | return it |
| 22 | } |
| 23 | |
| 24 | func (s *Snapshot) Close() { |
| 25 | s.snp.Release() |
nothing calls this directly
no outgoing calls
no test coverage detected