(file *zip.File)
| 127 | } |
| 128 | |
| 129 | func readZipFile(file *zip.File) ([]byte, error) { |
| 130 | reader, err := file.Open() |
| 131 | if err != nil { |
| 132 | return nil, err |
| 133 | } |
| 134 | defer reader.Close() |
| 135 | return io.ReadAll(reader) |
| 136 | } |
| 137 | |
| 138 | // ParseDeploymentDescriptor parses the deployment descriptor which is located in the provided direcotry |
| 139 | func ParseDeploymentDescriptor(deploymentDescriptorLocation string) (MtaDeploymentDescriptor, string, error) { |
no test coverage detected