Synchronous version of unzip. Extracts a zip file to a directory.
unzip
The path to the zip file.
The directory to unzip to.
A VoidIOResult indicating success or failure.
VoidIOResult
unzip for the async version.
1.6.0
unzipSync('/downloads/archive.zip', '/extracted'); Copy
unzipSync('/downloads/archive.zip', '/extracted');
Synchronous version of
unzip. Extracts a zip file to a directory.