ZipAliases.

Unzip(ICakeContext, FilePath, DirectoryPath, bool) Method

Summary

Unzips the specified file.
Namespace
Cake.Common.IO
Containing Type
ZipAliases

Syntax

[CakeMethodAlias]
public static void Unzip(this ICakeContext context, FilePath zipFile, DirectoryPath outputPath, bool overwriteFiles)

Examples

Unzip("Cake.zip", "./cake", true);

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
zipFile FilePath Zip file to unzip.
outputPath DirectoryPath Output path to unzip into.
overwriteFiles bool Flag for if files should be overwritten in output.

Return Value

Type Description
void