If we're still looking for the initial commit, try to use the offset index to advance the segment reader.
(&self, segment: &mut segment::Reader<R::SegmentReader>)
| 950 | /// If we're still looking for the initial commit, try to use the offset |
| 951 | /// index to advance the segment reader. |
| 952 | fn try_seek_to_initial_offset(&self, segment: &mut segment::Reader<R::SegmentReader>) { |
| 953 | if let CommitInfo::Initial { next_offset } = &self.last_commit { |
| 954 | try_seek_using_offset_index(&self.segments.repo, segment, *next_offset); |
| 955 | } |
| 956 | } |
| 957 | } |
| 958 | |
| 959 | impl<R: Repo> Iterator for Commits<R> { |
no test coverage detected