GZip.

Compress(DirectoryPath, FilePath, IEnumerable<FilePath>, int) Method

Summary

Create a GZip Tar archive of the specified files.
Assembly
Cake.Compression.dll
Namespace
Cake.Compression.Classes
Containing Type
GZip

Syntax

public override void Compress(DirectoryPath rootPath, FilePath outputPath, IEnumerable<FilePath> filePaths, int level)

Parameters

Name Type Description
rootPath DirectoryPath The root path.
outputPath FilePath The output path.
filePaths IEnumerable<FilePath> The file paths.
level int The compression level (1-9).

Return Value

Type Description
void