rust/hg-cpython/src/revlog.rs
changeset 47037 d57386e5c80e
parent 47034 0d8ff1f4ab0c
child 47268 9d1a8829f959
--- a/rust/hg-cpython/src/revlog.rs	Sat May 01 14:47:39 2021 +0200
+++ b/rust/hg-cpython/src/revlog.rs	Thu Apr 01 11:31:54 2021 +0200
@@ -177,6 +177,11 @@
         self.call_cindex(py, "entry_binary", args, kw)
     }
 
+    /// return a binary packed version of the header
+    def pack_header(&self, *args, **kw) -> PyResult<PyObject> {
+        self.call_cindex(py, "pack_header", args, kw)
+    }
+
     /// get an index entry
     def get(&self, *args, **kw) -> PyResult<PyObject> {
         self.call_cindex(py, "get", args, kw)