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