extract
Unpack the tar or zip file at the specified path to the directory specified by to_path.
def extract(
path: string,
to_path: string
)
Unpack the tar or zip file at the specified path to the directory specified by to_path.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string | The filesystem path to the tar or zip archive that needs to be unpacked. |
| to_path | string | The destination directory path where the archive contents will be extracted. |
Returns
| Type | Description |
|---|---|
| Nothing is returned; the archive contents are extracted to the filesystem. |