()
| 338 | } |
| 339 | |
| 340 | func (c *segmentCursor) Current() (operation uint64, key []byte, val []byte) { |
| 341 | if c.curr >= c.start && c.curr < c.end { |
| 342 | operation, key, val = c.s.getOperationKeyVal(c.curr) |
| 343 | } |
| 344 | return |
| 345 | } |
| 346 | |
| 347 | func (c *segmentCursor) Seek(startKeyInclusive []byte) error { |
| 348 | c.curr = c.s.findStartKeyInclusivePos(startKeyInclusive) |
nothing calls this directly
no test coverage detected