memIter converts from leveldb's iterator.Iterator interface, which operates on []byte, to Perkeep's index.Iterator, which operates on string.
| 56 | // operates on []byte, to Perkeep's index.Iterator, which operates |
| 57 | // on string. |
| 58 | type memIter struct { |
| 59 | lit iterator.Iterator // underlying leveldb iterator |
| 60 | k, v *string // if nil, not stringified yet |
| 61 | } |
| 62 | |
| 63 | func (s *memIter) Next() bool { |
| 64 | s.k, s.v = nil, nil |
nothing calls this directly
no outgoing calls
no test coverage detected