docs: def zip_entry_rollup(zipfile):
      """
      returns a tuple of (files, dirs, size_uncompressed,
      size_compressed). files+dirs will equal len(zipfile.infolist)
      """
  
      files = dirs = 0
      total_c = total_u = 0
  
      for i in zipfile.infolist():
          if i.filename[-1] == '/':
              # I wonder if there's a better detection method than this
              dirs += 1
          else:
              files += 1
              total_c += i.compress_size
              total_u += i.file_size
  
      return files, dirs, total_c, total_u