ZipAliases Class

Summary

Contains functionality related to compress files to Zip.
Namespace
Cake.Common.IO
Base Types
  • object
graph BT Type-->Base0["object"] Type["ZipAliases"] class Type type-node

Syntax

[CakeAliasCategory("Compression")]
public static class ZipAliases

Attributes

Type Description
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Methods

Name Value Summary
Unzip(ICakeContext, FilePath, DirectoryPath, bool) void
Unzips the specified file.
static
Unzip(ICakeContext, FilePath, DirectoryPath) void
Unzips the specified file.
static
Zip(ICakeContext, DirectoryPath, FilePath, IEnumerable<FilePath>) void
Zips the specified files.
static
Zip(ICakeContext, DirectoryPath, FilePath, IEnumerable<string>) void
Zips the specified files.
static
Zip(ICakeContext, DirectoryPath, FilePath, string) void
Zips the files matching the specified pattern.
static
Zip(ICakeContext, DirectoryPath, FilePath) void
Zips the specified directory.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin