SwitchFullyQualifiedFilePaths Class

Summary

-spf (Use fully qualified file paths) switch. (Also, -spf2 for full paths without drive letters.)

Enables the mode that allows to use fully qualified file paths in archives. If -spf switch is not specified, 7-Zip reduces file paths to relative paths when it adds files to archive, and 7-Zip converts paths to relative paths when you extract archive. If -spf switch is specified, 7-Zip doesn't try to process or convert paths.

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["SwitchFullyQualifiedFilePaths"] class Type type-node

Syntax

public class SwitchFullyQualifiedFilePaths : ISwitch

Constructors

Name Summary
SwitchFullyQualifiedFilePaths() Initializes a new instance of the SwitchFullyQualifiedFilePaths class. The Default for IncludeDriveLetter is true.

Properties

Name Value Summary
IncludeDriveLetter bool
Sets a value indicating whether to include drive letter.

Methods

Name Value Summary
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments using the builder.

Extension Methods

Name Value Summary
Dump<SwitchFullyQualifiedFilePaths>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SwitchFullyQualifiedFilePaths>(SwitchFullyQualifiedFilePaths[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<SwitchFullyQualifiedFilePaths>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<SwitchFullyQualifiedFilePaths>(string) void
Requires the Cake.Issues addin
ThrowIfNull<SwitchFullyQualifiedFilePaths>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<SwitchFullyQualifiedFilePaths>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin

See Also