changeset 52830:5950957af8a3

rust-pyo3-revlog: issnapshot
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 02 Jan 2025 23:37:14 +0100
parents 6c121468b026
children acd76143f868
files rust/hg-pyo3/src/revlog/mod.rs
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rust/hg-pyo3/src/revlog/mod.rs	Thu Jan 02 23:22:24 2025 +0100
+++ b/rust/hg-pyo3/src/revlog/mod.rs	Thu Jan 02 23:37:14 2025 +0100
@@ -282,6 +282,10 @@
         })
     }
 
+    fn issnapshot(slf: &Bound<'_, Self>, rev: PyRevision) -> PyResult<bool> {
+        Self::_index_issnapshot(slf, rev)
+    }
+
     fn reading(slf: &Bound<'_, Self>) -> PyResult<ReadingContextManager> {
         Ok(ReadingContextManager {
             inner_revlog: slf.clone().unbind(),