Show More
@@ -20,6 +20,19 b' class idirstate(interfaceutil.Interface)' | |||
|
20 | 20 | the dirstate. |
|
21 | 21 | ''' |
|
22 | 22 | |
|
23 | # TODO: all these private methods and attributes should be made | |
|
24 | # public or removed from the interface. | |
|
25 | _ignore = interfaceutil.Attribute('Matcher for ignored files.') | |
|
26 | ||
|
27 | def _ignorefiles(): | |
|
28 | """Return a list of files containing patterns to ignore.""" | |
|
29 | ||
|
30 | def _ignorefileandline(f): | |
|
31 | "Given a file `f`, return the ignore file and line that ignores it." | |
|
32 | ||
|
33 | _checklink = interfaceutil.Attribute('Callable for checking symlinks.') | |
|
34 | _checkexec = interfaceutil.Attribute('Callable for checking exec bits.') | |
|
35 | ||
|
23 | 36 | @contextlib.contextmanager |
|
24 | 37 | def parentchange(): |
|
25 | 38 | '''Context manager for handling dirstate parents. |
@@ -37,11 +50,6 b' class idirstate(interfaceutil.Interface)' | |||
|
37 | 50 | def hasdir(d): |
|
38 | 51 | pass |
|
39 | 52 | |
|
40 | _ignore = interfaceutil.Attribute('Matcher for ignored files.') | |
|
41 | ||
|
42 | _checklink = interfaceutil.Attribute('Callable for checking symlinks.') | |
|
43 | _checkexec = interfaceutil.Attribute('Callable for checking exec bits.') | |
|
44 | ||
|
45 | 53 | def flagfunc(buildfallback): |
|
46 | 54 | pass |
|
47 | 55 | |
@@ -196,16 +204,6 b' class idirstate(interfaceutil.Interface)' | |||
|
196 | 204 | with a newer callback. |
|
197 | 205 | """ |
|
198 | 206 | |
|
199 | def _ignorefiles(): | |
|
200 | """Return a list of files containing patterns to ignore. | |
|
201 | ||
|
202 | TODO this should not be exposed.""" | |
|
203 | ||
|
204 | def _ignorefileandline(f): | |
|
205 | """Given a file `f`, return the ignore file and line that ignores it. | |
|
206 | ||
|
207 | TODO this should not be exposed.""" | |
|
208 | ||
|
209 | 207 | def walk(match, subrepos, unknown, ignored, full=True): |
|
210 | 208 | ''' |
|
211 | 209 | Walk recursively through the directory tree, finding all files |
General Comments 0
You need to be logged in to leave comments.
Login now