(self)
| 281 | return (self / name for name in info.children) |
| 282 | |
| 283 | def readlink(self): |
| 284 | info = self.info |
| 285 | if not info.exists(): |
| 286 | raise FileNotFoundError(errno.ENOENT, "File not found", self) |
| 287 | elif not info.is_symlink(): |
| 288 | raise OSError(errno.EINVAL, "Not a symlink", self) |
| 289 | return self.with_segments(self.zip_file.read(info.zip_info).decode()) |
| 290 | |
| 291 | |
| 292 | class WritableZipPath(_WritablePath): |