unzip..Root.compression.unzipDecompress the zip archive. Under the hood:
| OS | command | description |
|---|---|---|
| windows | powershell -command "Expand-Archive -Path \"pathToZipFile\" -Force -DestinationPath \"destinationPath\" |
Expand-Archive |
| linux | unzip -o "pathToZipFile" -d "destinationPath" |
unzip |
(warning: commands prints own output)
Parameters: String pathToZipFile, String destinationPath
Return value: reference to destinationPath
Object, Callable, BlockCallable
import("network");
import("compression");
network.downloadFile("https://ci.appveyor.com/api/projects/antollo/easypt/artifacts/artifacts.zip?branch=master&job=Image%3A%20Visual%20Studio%202017", "update.zip");
compression.unzip("update.zip", "./");