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 |
---|---|
Suppress |
Parameters
Name | Type | Description |
---|---|---|
rootPath | DirectoryPath | The root path. |
outputPath | FilePath | The output path. |
filePaths | IEnumerable |
The files to zip. |
Return Value
Type | Description |
---|---|
void |