Lines Matching defs:ZipWriter
204 type ZipWriter struct { struct
205 time time.Time
206 createdFiles map[string]string
207 createdDirs map[string]string
208 directories bool
210 errors chan error
211 writeOps chan chan *zipEntry
213 cpuRateLimiter *CPURateLimiter
214 memoryRateLimiter *MemoryRateLimiter
216 compressorPool sync.Pool
217 compLevel int
219 followSymlinks pathtools.ShouldFollowSymlinks
220 ignoreMissingFiles bool
222 stderr io.Writer
223 fs pathtools.FileSystem
436 …ZipWriter) write(f io.Writer, pathMappings []pathMapping, manifest string, emulateJar, srcJar bool,
580 func (z *ZipWriter) addFile(dest, src string, method uint16, emulateJar, srcJar bool) error {
676 func (z *ZipWriter) addManifest(dest string, src string, _ uint16) error {
712 …ipWriter) writeFileContents(header *zip.FileHeader, r pathtools.ReaderAtSeekerCloser) (err error) {
788 … (z *ZipWriter) crcFile(r io.Reader, ze *zipEntry, resultChan chan *zipEntry, wg *sync.WaitGroup) {
804 …ssPartialFile(r io.Reader, dict []byte, last bool, resultChan chan io.Reader, wg *sync.WaitGroup) {
818 func (z *ZipWriter) compressBlock(r io.Reader, dict []byte, last bool) (*bytes.Buffer, error) {
852 func (z *ZipWriter) compressWholeFile(ze *zipEntry, r io.ReadSeeker, compressChan chan *zipEntry) {
925 func (z *ZipWriter) writeDirectory(dir string, src string, emulateJar bool) error {
975 func (z *ZipWriter) writeSymlink(rel, file string) error {