Show More
@@ -1,5 +1,6 | |||
|
1 | 1 | from __future__ import annotations |
|
2 | 2 | |
|
3 | import abc | |
|
3 | 4 | import contextlib |
|
4 | 5 | import os |
|
5 | 6 | import typing |
@@ -127,6 +128,7 class idirstate(Protocol): | |||
|
127 | 128 | """Callable for checking exec bits.""" # TODO: this comment looks stale |
|
128 | 129 | |
|
129 | 130 | @contextlib.contextmanager |
|
131 | @abc.abstractmethod | |
|
130 | 132 | def changing_parents(self, repo) -> Iterator: # TODO: typehint this |
|
131 | 133 | """Context manager for handling dirstate parents. |
|
132 | 134 | |
@@ -136,6 +138,7 class idirstate(Protocol): | |||
|
136 | 138 | """ |
|
137 | 139 | |
|
138 | 140 | @contextlib.contextmanager |
|
141 | @abc.abstractmethod | |
|
139 | 142 | def changing_files(self, repo) -> Iterator: # TODO: typehint this |
|
140 | 143 | """Context manager for handling dirstate files. |
|
141 | 144 |
General Comments 0
You need to be logged in to leave comments.
Login now