rust/hg-cpython/src/dirstate/item.rs
changeset 49820 3eac92509484
parent 49100 38e5bb1425dd
child 49914 58074252db3c
--- a/rust/hg-cpython/src/dirstate/item.rs	Mon Dec 19 16:22:01 2022 +0100
+++ b/rust/hg-cpython/src/dirstate/item.rs	Mon May 02 11:40:33 2022 +0200
@@ -151,6 +151,10 @@
         Ok(self.entry(py).get().added())
     }
 
+    @property
+    def modified(&self) -> PyResult<bool> {
+        Ok(self.entry(py).get().modified())
+    }
 
     @property
     def p2_info(&self) -> PyResult<bool> {