Show More
@@ -210,7 +210,7 b' class dirstate(object):' | |||||
210 |
|
210 | |||
211 | @propertycache |
|
211 | @propertycache | |
212 | def _dirs(self): |
|
212 | def _dirs(self): | |
213 |
return |
|
213 | return self._map.dirs() | |
214 |
|
214 | |||
215 | def dirs(self): |
|
215 | def dirs(self): | |
216 | return self._dirs |
|
216 | return self._dirs | |
@@ -1375,3 +1375,9 b' class dirstatemap(object):' | |||||
1375 | f[normcase(name)] = name |
|
1375 | f[normcase(name)] = name | |
1376 | f['.'] = '.' # prevents useless util.fspath() invocation |
|
1376 | f['.'] = '.' # prevents useless util.fspath() invocation | |
1377 | return f |
|
1377 | return f | |
|
1378 | ||||
|
1379 | def dirs(self): | |||
|
1380 | """Returns a set-like object containing all the directories in the | |||
|
1381 | current dirstate. | |||
|
1382 | """ | |||
|
1383 | return util.dirs(self._map, 'r') |
General Comments 0
You need to be logged in to leave comments.
Login now