This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.7zip.
Summary
-u (Update options) switch.
Specifies how to update files in an archive and (or) how to create new archives.
- Assembly
- Cake
.7zip .dll - Namespace
- Cake
.SevenZip .Switches - Interfaces
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["ISwitch"]
click Interface0 "/api/Cake.SevenZip.Switches/ISwitch"
Type["SwitchUpdateOptions"]
class Type type-node
Syntax
public class SwitchUpdateOptions : ISwitch
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute |
Constructors
Name | Summary |
---|---|
SwitchUpdateOptions |
Properties
Name | Value | Summary |
---|---|---|
NewArchiveName | FilePath |
Sets the new archive-name.
|
P | UpdateAction |
Sets the
UpdateAction for the p-state.
File exists in archive, but is not matched with wildcard.
|
Q | UpdateAction |
Sets the
UpdateAction for the q-state.
File exists in archive, but doesn't exist on disk.
|
R | UpdateAction |
Sets the
UpdateAction for the r-state.
File doesn't exist in archive, but exists on disk.
|
W | UpdateAction |
Sets the
UpdateAction for the w-state.
Can not be detected what file is newer (times are the same, sizes are different).
|
X | UpdateAction |
Sets the
UpdateAction for the x-state.
File in archive is newer than the file on disk.
|
Y | UpdateAction |
Sets the
UpdateAction for the y-state.
File in archive is older than the file on disk.
|
Z | UpdateAction |
Sets the
UpdateAction for the z-state.
File in archive is same as the file on disk.
|
Methods
Name | Value | Summary |
---|---|---|
BuildArguments |
void |
Builds the arguments using the builder.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|