TarAliases.

Untar(ICakeContext, FilePath, DirectoryPath) Method

Summary

Extracts the specified tar archive.
Namespace
Cake.Common.IO
Containing Type
TarAliases

Syntax

[CakeMethodAlias]
public static void Untar(this ICakeContext context, FilePath archiveFile, DirectoryPath outputPath)

Examples

Untar("publish.tar.gz", "./publish");

Attributes

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

Parameters

Name Type Description
context ICakeContext The context.
archiveFile FilePath The archive file to extract.
outputPath DirectoryPath The output path to extract into.

Return Value

Type Description
void