mercurial/windows.py
changeset 51716 f3b34386d3e0
parent 51285 9d3721552b6c
child 51720 e618a1756b08
--- a/mercurial/windows.py	Thu Jul 18 19:55:51 2024 -0400
+++ b/mercurial/windows.py	Thu Jul 18 19:57:42 2024 -0400
@@ -675,8 +675,10 @@
 
 
 class cachestat:
+    stat: Optional[os.stat_result]
+
     def __init__(self, path: bytes) -> None:
-        pass
+        self.stat = None
 
     def cacheable(self) -> bool:
         return False