rust/hg-cpython/src/revlog.rs
changeset 47037 d57386e5c80e
parent 47034 0d8ff1f4ab0c
child 47268 9d1a8829f959
equal deleted inserted replaced
47036:5e64c93d5f94 47037:d57386e5c80e
   173     }
   173     }
   174 
   174 
   175     /// return the raw binary string representing a revision
   175     /// return the raw binary string representing a revision
   176     def entry_binary(&self, *args, **kw) -> PyResult<PyObject> {
   176     def entry_binary(&self, *args, **kw) -> PyResult<PyObject> {
   177         self.call_cindex(py, "entry_binary", args, kw)
   177         self.call_cindex(py, "entry_binary", args, kw)
       
   178     }
       
   179 
       
   180     /// return a binary packed version of the header
       
   181     def pack_header(&self, *args, **kw) -> PyResult<PyObject> {
       
   182         self.call_cindex(py, "pack_header", args, kw)
   178     }
   183     }
   179 
   184 
   180     /// get an index entry
   185     /// get an index entry
   181     def get(&self, *args, **kw) -> PyResult<PyObject> {
   186     def get(&self, *args, **kw) -> PyResult<PyObject> {
   182         self.call_cindex(py, "get", args, kw)
   187         self.call_cindex(py, "get", args, kw)