(files []*zip.File)
| 51 | } |
| 52 | |
| 53 | func findMtaDescriptorFile(files []*zip.File) *zip.File { |
| 54 | for _, file := range files { |
| 55 | if file.Name == defaultDescriptorPath { |
| 56 | return file |
| 57 | } |
| 58 | } |
| 59 | return nil |
| 60 | } |
| 61 | |
| 62 | func CreateMtaArchive(source, target string) error { |
| 63 | zipfile, err := os.Create(target) |
no outgoing calls
no test coverage detected