equal
deleted
inserted
replaced
186 let patch = patch::fold_patch_lists(&patches); |
186 let patch = patch::fold_patch_lists(&patches); |
187 Ok(patch.apply(&snapshot)) |
187 Ok(patch.apply(&snapshot)) |
188 } |
188 } |
189 |
189 |
190 /// Return the revlog index. |
190 /// Return the revlog index. |
191 fn index(&self) -> Index { |
191 pub fn index(&self) -> Index { |
192 let is_inline = self.data_bytes.is_none(); |
192 let is_inline = self.data_bytes.is_none(); |
193 Index::new(&self.index_bytes, is_inline) |
193 Index::new(&self.index_bytes, is_inline) |
194 } |
194 } |
195 |
195 |
196 /// Return the revlog data. |
196 /// Return the revlog data. |