Lines Matching full:zip
5 package zip package
19 ErrFormat = errors.New("zip: not a valid zip file")
20 ErrAlgorithm = errors.New("zip: unsupported compression algorithm")
21 ErrChecksum = errors.New("zip: checksum error")
38 zip *Reader member
48 // OpenReader will open the Zip file specified by name and return a ReadCloser.
84 …return fmt.Errorf("archive/zip: TOC declares impossible %d files in %d byte zip", end.directoryRec…
95 // The count of files inside a zip is truncated to fit in a uint16.
100 f := &File{zip: z, zipr: r, zipsize: size}
136 // Close closes the Zip file, rendering it unusable for I/O.
142 // data, relative to the beginning of the zip file.
163 dcomp := f.zip.decompressor(f.Method)
289 // Other zip authors might not even follow the basic format,
334 // possible (or is just malicious; search the web for 42.zip).
339 // If nothing else, this keeps archive/zip working with 42.zip.
355 // Implementers should be aware that ZIP files may be
358 // ZIP files to ensure compatibility."
424 return nil, errors.New("zip: invalid comment length")