Lines Matching refs:inputZip
57 inputZip InputZip member
65 func NewZipEntryFromZip(inputZip InputZip, entryIndex int) *ZipEntryFromZip {
66 fi := inputZip.Entries()[entryIndex]
67 newEntry := ZipEntryFromZip{inputZip: inputZip,
78 return fmt.Sprintf("%s!%s", ze.inputZip.Name(), ze.name)
94 if err := ze.inputZip.Open(); err != nil {
97 return zw.CopyFrom(ze.inputZip.Entries()[ze.index], dest)
274 func (oz *OutputZip) copyEntry(inputZip InputZip, index int) error {
275 entry := NewZipEntryFromZip(inputZip, index)
303 …return fmt.Errorf("Duplicate path %v found in %v and %v\n", entry.name, existingEntry, inputZip.Na…
354 for _, inputZip := range inputZips {
355 if err := inputZip.Open(); err != nil {
358 for _, file := range inputZip.Entries() {
563 for _, inputZip := range inputZips {
564 _, copyFully := zipsToNotStrip[inputZip.Name()]
565 if err := inputZip.Open(); err != nil {
569 for i, entry := range inputZip.Entries() {
571 if err := out.copyEntry(inputZip, i); err != nil {
578 if err := inputZip.Close(); err != nil {