Zipper.

Zip(DirectoryPath, FilePath, IEnumerable<Path>) 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<Path> paths)

Attributes

Type Description
SuppressMessageAttribute

Parameters

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

Return Value

Type Description
void