rust/hg-cpython/src/dirstate/item.rs
changeset 48087 79bc60ca5946
parent 48086 80783e553bd5
child 48134 3c7db97ce541
--- a/rust/hg-cpython/src/dirstate/item.rs	Wed Sep 29 14:41:19 2021 +0200
+++ b/rust/hg-cpython/src/dirstate/item.rs	Wed Sep 29 14:51:31 2021 +0200
@@ -90,6 +90,11 @@
         Ok(self.entry(py).get().maybe_clean())
     }
 
+    @property
+    def any_tracked(&self) -> PyResult<bool> {
+        Ok(self.entry(py).get().any_tracked())
+    }
+
     def v1_state(&self) -> PyResult<PyBytes> {
         let (state, _mode, _size, _mtime) = self.entry(py).get().v1_data();
         let state_byte: u8 = state.into();