Zipper.

Zip(DirectoryPath, FilePath, IEnumerable<FilePath>) Method

Summary

Zips the specified directory.
Namespace
Cake.Common.IO
Containing Type
Zipper

Syntax

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:Do not dispose objects multiple times")]
public void Zip(DirectoryPath rootPath, FilePath outputPath, IEnumerable<FilePath> filePaths)

Attributes

Type Description
SuppressMessageAttribute

Parameters

Name Type Description
rootPath DirectoryPath The root path.
outputPath FilePath The output path.
filePaths IEnumerable<FilePath> The files to zip.

Return Value

Type Description
void