(self)
| 402 | return self.at in self.root._name_set() |
| 403 | |
| 404 | def iterdir(self): |
| 405 | if not self.is_dir(): |
| 406 | raise ValueError("Can't listdir a file") |
| 407 | subs = map(self._next, self.root.namelist()) |
| 408 | return filter(self._is_child, subs) |
| 409 | |
| 410 | def match(self, path_pattern): |
| 411 | return pathlib.PurePosixPath(self.at).match(path_pattern) |