Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Unzip ¶
Unzip extracts a .zip archive into the specified destination directory. It returns a string slice of the filepaths for each extracted file, relative to the destination root. If any of the destination files or folders already exists, they will be overwritten assuming the process has write permissions to the destination.
The destination parent will be named after the input .zip file. e.g. if the input .zip file is named "test.zip", and the destination is "/data/project", the final destination will be "/data/project/test".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.