Iterator wraps the leveldb iterator to provide a higher-level interface.
| 6 | |
| 7 | // Iterator wraps the leveldb iterator to provide a higher-level interface. |
| 8 | type Iterator struct { |
| 9 | it iterator.Iterator // The underlying leveldb iterator. |
| 10 | } |
| 11 | |
| 12 | // Key returns the key of the current iterator position. |
| 13 | func (it *Iterator) Key() []byte { |
nothing calls this directly
no outgoing calls
no test coverage detected