Compute the length in bytes of an offset index based on the settings in `self`.
(&self)
| 149 | /// Compute the length in bytes of an offset index based on the settings in |
| 150 | /// `self`. |
| 151 | pub fn offset_index_len(&self) -> u64 { |
| 152 | self.max_segment_size / self.offset_index_interval_bytes |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | /// The canonical commitlog API over a repository backend `R`. |
no outgoing calls
no test coverage detected