• Home
  • Raw
  • Download

Lines Matching refs:zip

15 package zip  package
59 func fh(name string, contents []byte, method uint16) zip.FileHeader {
60 return zip.FileHeader{
69 func fhManifest(contents []byte) zip.FileHeader {
70 return zip.FileHeader{
72 Method: zip.Store,
79 func fhLink(name string, to string) zip.FileHeader {
80 return zip.FileHeader{
82 Method: zip.Store,
89 func fhDir(name string) zip.FileHeader {
90 return zip.FileHeader{
92 Method: zip.Store,
117 files []zip.FileHeader
124 files: []zip.FileHeader{},
135 files: []zip.FileHeader{
136 fh("a/a/a", fileA, zip.Deflate),
137 fh("a/a/b", fileB, zip.Deflate),
138 fh("c", fileC, zip.Deflate),
139 fh("[", fileEmpty, zip.Store),
150 files: []zip.FileHeader{
151 fh("a/a", fileA, zip.Deflate),
152 fh("a/b", fileB, zip.Deflate),
165 files: []zip.FileHeader{
166 fh("a/a", fileA, zip.Deflate),
167 fh("a/b", fileB, zip.Deflate),
180 files: []zip.FileHeader{
181 fh("a/a/a", fileA, zip.Store),
182 fh("a/a/b", fileB, zip.Store),
183 fh("c", fileC, zip.Store),
196 files: []zip.FileHeader{
197 fh("a/a/a", fileA, zip.Deflate),
198 fh("a/a/b", fileB, zip.Deflate),
213 files: []zip.FileHeader{
214 fh("a/a/a", fileA, zip.Deflate),
215 fh("a/a/b", fileB, zip.Deflate),
216 fh("a/a/c", fileC, zip.Deflate),
217 fh("a/a/d", fileB, zip.Deflate),
227 files: []zip.FileHeader{
237 files: []zip.FileHeader{
238 fh("a/a/a", fileA, zip.Deflate),
239 fh("a/a/b", fileB, zip.Deflate),
240 fh("c", fileC, zip.Deflate),
241 fh("[", fileEmpty, zip.Store),
250 files: []zip.FileHeader{
251 fh("a/a/a", fileA, zip.Deflate),
252 fh("a/a/b", fileB, zip.Deflate),
253 fh("c", fileC, zip.Deflate),
254 fh("[", fileEmpty, zip.Store),
263 files: []zip.FileHeader{
264 fh("a/a/a", fileA, zip.Deflate),
265 fh("a/a/b", fileB, zip.Deflate),
266 fh("@", fileC, zip.Deflate),
267 fh("foo'bar", fileC, zip.Deflate),
268 fh("[", fileEmpty, zip.Store),
280 files: []zip.FileHeader{
281 fh("foo/a/a/a", fileA, zip.Deflate),
282 fh("foo/a/a/b", fileB, zip.Deflate),
283 fh("foo/c", fileC, zip.Deflate),
294 files: []zip.FileHeader{
295 fh("a/a", fileA, zip.Deflate),
296 fh("a/b", fileB, zip.Deflate),
308 files: []zip.FileHeader{
309 fh("a/a", fileA, zip.Deflate),
310 fh("b", fileB, zip.Deflate),
321 files: []zip.FileHeader{
326 fh("a/a/a", fileA, zip.Deflate),
327 fh("a/a/b", fileB, zip.Deflate),
339 files: []zip.FileHeader{
344 fh("a/a/a", fileA, zip.Deflate),
345 fh("a/a/b", fileB, zip.Deflate),
356 files: []zip.FileHeader{
359 fh("a/a/a", fileA, zip.Deflate),
360 fh("a/a/b", fileB, zip.Deflate),
371 files: []zip.FileHeader{
372 fh("a", fileA, zip.Deflate),
373 fh("b", fileB, zip.Deflate),
384 files: []zip.FileHeader{
385 fh("a/a/a", fileA, zip.Store),
386 fh("a/a/b", fileB, zip.Deflate),
398 files: []zip.FileHeader{
399 fh("a/a/a", fileA, zip.Deflate),
400 fh("a/a/b", fileB, zip.Deflate),
471 zr, err := zip.NewReader(br, int64(br.Len()))
476 var files []zip.FileHeader
570 zr, err := zip.NewReader(br, int64(br.Len()))