rust/hg-cpython/src/dirstate/item.rs
changeset 48098 80783e553bd5
parent 48082 d3eb5f50052c
child 48099 79bc60ca5946
--- a/rust/hg-cpython/src/dirstate/item.rs	Wed Sep 29 02:37:24 2021 +0200
+++ b/rust/hg-cpython/src/dirstate/item.rs	Wed Sep 29 14:41:19 2021 +0200
@@ -85,6 +85,11 @@
         Ok(self.entry(py).get().from_p2())
     }
 
+    @property
+    def maybe_clean(&self) -> PyResult<bool> {
+        Ok(self.entry(py).get().maybe_clean())
+    }
+
     def v1_state(&self) -> PyResult<PyBytes> {
         let (state, _mode, _size, _mtime) = self.entry(py).get().v1_data();
         let state_byte: u8 = state.into();