(startKeyInclusive []byte)
| 345 | } |
| 346 | |
| 347 | func (c *segmentCursor) Seek(startKeyInclusive []byte) error { |
| 348 | c.curr = c.s.findStartKeyInclusivePos(startKeyInclusive) |
| 349 | if c.curr < c.start { |
| 350 | c.curr = c.start |
| 351 | } |
| 352 | if c.curr >= c.end { |
| 353 | return ErrIteratorDone |
| 354 | } |
| 355 | return nil |
| 356 | } |
| 357 | |
| 358 | func (c *segmentCursor) Next() error { |
| 359 | c.curr++ |
nothing calls this directly
no test coverage detected