Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'.
(self)
| 1274 | return st1 == st2 |
| 1275 | |
| 1276 | def iterdir(self): |
| 1277 | """Iterate over the files in this directory. Does not yield any |
| 1278 | result for the special paths '.' and '..'. |
| 1279 | """ |
| 1280 | if self._closed: |
| 1281 | self._raise_closed() |
| 1282 | for name in self._accessor.listdir(self): |
| 1283 | if name in ('.', '..'): |
| 1284 | # Yielding a path object for these makes little sense |
| 1285 | continue |
| 1286 | yield self._make_child_relpath(name) |
| 1287 | if self._closed: |
| 1288 | self._raise_closed() |
| 1289 | |
| 1290 | def glob(self, pattern): |
| 1291 | """Iterate over this subtree and yield all existing files (of any |
nothing calls this directly
no test coverage detected