Lines Matching defs:ZipWriter
225 type ZipWriter struct { struct
226 time time.Time
227 createdFiles map[string]string
228 createdDirs map[string]string
229 directories bool
231 errors chan error
232 writeOps chan chan *zipEntry
234 cpuRateLimiter *CPURateLimiter
235 memoryRateLimiter *MemoryRateLimiter
237 compressorPool sync.Pool
238 compLevel int
240 followSymlinks pathtools.ShouldFollowSymlinks
241 ignoreMissingFiles bool
243 stderr io.Writer
244 fs pathtools.FileSystem
246 sha256Checksum bool
461 …ZipWriter) write(f io.Writer, pathMappings []pathMapping, manifest string, emulateJar, srcJar bool,
605 func (z *ZipWriter) addFile(dest, src string, method uint16, emulateJar, srcJar bool) error {
728 func (z *ZipWriter) addManifest(dest string, src string, _ uint16) error {
771 …ipWriter) writeFileContents(header *zip.FileHeader, r pathtools.ReaderAtSeekerCloser) (err error) {
849 …) checksumFileAsync(r io.ReadSeeker, ze *zipEntry, resultChan chan *zipEntry, wg *sync.WaitGroup) {
859 func (z *ZipWriter) checksumFile(r io.ReadSeeker, ze *zipEntry) {
883 func (z *ZipWriter) appendSHAToExtra(ze *zipEntry, checksum []byte) {
898 …ssPartialFile(r io.Reader, dict []byte, last bool, resultChan chan io.Reader, wg *sync.WaitGroup) {
912 func (z *ZipWriter) compressBlock(r io.Reader, dict []byte, last bool) (*bytes.Buffer, error) {
946 func (z *ZipWriter) compressWholeFile(ze *zipEntry, r io.ReadSeeker, compressChan chan *zipEntry) {
1011 func (z *ZipWriter) writeDirectory(dir string, src string, emulateJar bool) error {
1061 func (z *ZipWriter) writeSymlink(rel, file string) error {