diff mercurial/interfaces/dirstate.py @ 52507:8820c991aee4

interfaces: drop `_ignorefiles()` from `dirstate` Protocol I didn't look back at the state of things when this was introduced as a zope interface, but the method is only called inside of `mercurial.dirstate.dirstate` now. In general, private methods shouldn't be in the Protocol class, but some of these are called from outside `dirstate` by debug commands.
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 11 Dec 2024 21:11:19 -0500
parents 9d79ffeed7c0
children 2ac368d0a5b6
line wrap: on
line diff
--- a/mercurial/interfaces/dirstate.py	Sun Dec 15 18:52:05 2024 -0500
+++ b/mercurial/interfaces/dirstate.py	Wed Dec 11 21:11:19 2024 -0500
@@ -110,9 +110,6 @@
     def is_changing_files(self) -> bool:
         """True if file tracking changes in progress."""
 
-    def _ignorefiles(self) -> List[bytes]:
-        """Return a list of files containing patterns to ignore."""
-
     def _ignorefileandline(self, f: bytes) -> IgnoreFileAndLineT:
         """Given a file `f`, return the ignore file and line that ignores it."""