(&self)
| 848 | |
| 849 | impl<R: Repo> Commits<R> { |
| 850 | fn current_segment_header(&self) -> Option<&segment::Header> { |
| 851 | self.inner.as_ref().map(|segment| &segment.header) |
| 852 | } |
| 853 | |
| 854 | /// Turn `self` into an iterator which pairs the log format version of the |
| 855 | /// current segment with the [`Commit`]. |