diff rust/hg-core/src/revlog/revlog.rs @ 45536:639f33f22faf

hg-core: add a `ListRevTrackedFiles` operation List files tracked at a given revision. Differential Revision: https://phab.mercurial-scm.org/D9014
author Antoine Cezar <antoine.cezar@octobus.net>
date Fri, 18 Sep 2020 16:52:16 +0200
parents 4f11a67a12fb
children 497657895b54
line wrap: on
line diff
--- a/rust/hg-core/src/revlog/revlog.rs	Wed Sep 09 12:12:11 2020 +0200
+++ b/rust/hg-core/src/revlog/revlog.rs	Fri Sep 18 16:52:16 2020 +0200
@@ -188,7 +188,7 @@
     }
 
     /// Return the revlog index.
-    fn index(&self) -> Index {
+    pub fn index(&self) -> Index {
         let is_inline = self.data_bytes.is_none();
         Index::new(&self.index_bytes, is_inline)
     }