Lines Matching defs:ZipWriter
176 type ZipWriter struct { struct
177 time time.Time
178 createdFiles map[string]string
179 createdDirs map[string]string
180 directories bool
182 errors chan error
183 writeOps chan chan *zipEntry
185 cpuRateLimiter *CPURateLimiter
186 memoryRateLimiter *MemoryRateLimiter
188 compressorPool sync.Pool
189 compLevel int
191 followSymlinks pathtools.ShouldFollowSymlinks
192 ignoreMissingFiles bool
194 stderr io.Writer
195 fs pathtools.FileSystem
449 … io.Writer, pathMappings []pathMapping, manifest string, emulateJar bool, parallelJobs int) error {
591 func (z *ZipWriter) addFile(dest, src string, method uint16, emulateJar bool) error {
656 func (z *ZipWriter) addManifest(dest string, src string, method uint16) error {
692 …ipWriter) writeFileContents(header *zip.FileHeader, r pathtools.ReaderAtSeekerCloser) (err error) {
768 … (z *ZipWriter) crcFile(r io.Reader, ze *zipEntry, resultChan chan *zipEntry, wg *sync.WaitGroup) {
784 …ssPartialFile(r io.Reader, dict []byte, last bool, resultChan chan io.Reader, wg *sync.WaitGroup) {
798 func (z *ZipWriter) compressBlock(r io.Reader, dict []byte, last bool) (*bytes.Buffer, error) {
832 func (z *ZipWriter) compressWholeFile(ze *zipEntry, r io.ReadSeeker, compressChan chan *zipEntry) {
905 func (z *ZipWriter) writeDirectory(dir string, src string, emulateJar bool) error {
955 func (z *ZipWriter) writeSymlink(rel, file string) error {