Lines Matching defs:ZipWriter

236 type ZipWriter struct {  struct
237 time time.Time
238 createdFiles map[string]string
239 createdDirs map[string]string
240 directories bool
242 errors chan error
243 writeOps chan chan *zipEntry
245 cpuRateLimiter *CPURateLimiter
246 memoryRateLimiter *MemoryRateLimiter
248 compressorPool sync.Pool
249 compLevel int
251 followSymlinks pathtools.ShouldFollowSymlinks
252 ignoreMissingFiles bool
254 stderr io.Writer
255 fs pathtools.FileSystem
257 sha256Checksum bool
484 …ZipWriter) write(f io.Writer, pathMappings []pathMapping, manifest string, emulateJar, srcJar bool,
628 func (z *ZipWriter) addFile(dest, src string, method uint16, emulateJar, srcJar bool) error {
751 func (z *ZipWriter) addManifest(dest string, src string, _ uint16) error {
794 …ipWriter) writeFileContents(header *zip.FileHeader, r pathtools.ReaderAtSeekerCloser) (err error) {
872 …) checksumFileAsync(r io.ReadSeeker, ze *zipEntry, resultChan chan *zipEntry, wg *sync.WaitGroup) {
882 func (z *ZipWriter) checksumFile(r io.ReadSeeker, ze *zipEntry) {
906 func (z *ZipWriter) appendSHAToExtra(ze *zipEntry, checksum []byte) {
921 …ssPartialFile(r io.Reader, dict []byte, last bool, resultChan chan io.Reader, wg *sync.WaitGroup) {
935 func (z *ZipWriter) compressBlock(r io.Reader, dict []byte, last bool) (*bytes.Buffer, error) {
969 func (z *ZipWriter) compressWholeFile(ze *zipEntry, r io.ReadSeeker, compressChan chan *zipEntry) {
1034 func (z *ZipWriter) writeDirectory(dir string, src string, emulateJar bool) error {
1084 func (z *ZipWriter) writeSymlink(rel, file string) error {