(self, dir_path)
| 4 | |
| 5 | class ZipStream(object): |
| 6 | def __init__(self, dir_path): |
| 7 | self.dir_path = dir_path |
| 8 | self.pos = 0 |
| 9 | self.buff_pos = 0 |
| 10 | self.zf = zipfile.ZipFile(self, 'w', zipfile.ZIP_DEFLATED, allowZip64=True) |
| 11 | self.buff = io.BytesIO() |
| 12 | self.file_list = self.getFileList() |
| 13 | |
| 14 | def getFileList(self): |
| 15 | for root, dirs, files in os.walk(self.dir_path): |
nothing calls this directly
no test coverage detected