(self, target, target_is_directory=False)
| 329 | self.zip_file.writestr(zinfo, '') |
| 330 | |
| 331 | def symlink_to(self, target, target_is_directory=False): |
| 332 | zinfo = zipfile.ZipInfo(str(self)) |
| 333 | zinfo.external_attr = stat.S_IFLNK << 16 |
| 334 | if target_is_directory: |
| 335 | zinfo.external_attr |= 0x10 |
| 336 | self.zip_file.writestr(zinfo, str(target)) |