SvnAliases Class

Summary

Contains functionality for working with Subversion.
Assembly
Cake.Svn.dll
Namespace
Cake.Svn
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SvnAliases"] class Type type-node

Syntax

public static class SvnAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
GetSvnDirectoryInfo(ICakeContext, DirectoryPath, SvnInfoSettings) IEnumerable<SvnInfoResult>
Gets Subversion information about the directory at directoryPath with specific settings. The result list contains recursive information about the directoryPath (Infinity). To get information with another SvnDepth change the SvnDepth on settings.
static
GetSvnDirectoryInfo(ICakeContext, DirectoryPath) IEnumerable<SvnInfoResult>
Gets Subversion information about the directory at directoryPath. The result list contains recursive information about the directoryPath (Infinity). To get information with another SvnDepth the overload Cake.Svn.SvnAliases.GetSvnDirectoryInfo(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Info.SvnInfoSettings) can be used with changing the settings parameter.
static
GetSvnFileInfo(ICakeContext, FilePath, SvnInfoSettings) SvnInfoResult
Gets Subversion information about file at filePath with specific settings.
static
GetSvnFileInfo(ICakeContext, FilePath) SvnInfoResult
Gets Subversion information about the file at filePath.
static
GetSvnRemoteInfo(ICakeContext, Uri, SvnInfoSettings) IEnumerable<SvnInfoResult>
Gets Subversion information about the file or directory at repositoryUrl with specific settings. The result list contains recursive information about the repositoryUrl (Infinity). To get information with another SvnDepth change the SvnDepth on settings.
static
GetSvnRemoteInfo(ICakeContext, Uri) IEnumerable<SvnInfoResult>
Gets Subversion information about the file or directory at repositoryUrl. The result list contains recursive information about the repositoryUrl (Infinity). To get information with another SvnDepth the overload Cake.Svn.SvnAliases.GetSvnDirectoryInfo(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Info.SvnInfoSettings) can be used with changing the settings parameter.
static
IsDirectoryInSvnWorkingCopy(ICakeContext, DirectoryPath) bool
Check if the directoryPath was added to the Subversion working copy.
static
IsFileInSvnWorkingCopy(ICakeContext, FilePath) bool
Check if the filePath was added to the Subversion working copy.
static
SvnAddDirectory(ICakeContext, DirectoryPath, SvnAddSettings) bool
Add a directory to Subversion.
static
SvnAddDirectory(ICakeContext, DirectoryPath) bool
Add a directory to Subversion.
static
SvnAddFile(ICakeContext, FilePath, SvnAddSettings) bool
Add a file to Subversion.
static
SvnAddFile(ICakeContext, FilePath) bool
Add a file to Subversion.
static
SvnCheckout(ICakeContext, Uri, DirectoryPath, SvnCheckoutSettings) SvnCheckoutResult
Checkout a Subversion directory tree with specific settings.
static
SvnCheckout(ICakeContext, Uri, DirectoryPath) SvnCheckoutResult
Checkout a Subversion directory tree.
static
SvnCleanUp(ICakeContext, DirectoryPath, SvnCleanUpSettings) bool
Runs SVN cleanup on the given directory using given settings settings. SVN cleanup removes all working copy locks left behind by crashed clients.
static
SvnCleanUp(ICakeContext, DirectoryPath) bool
Runs SVN cleanup on the given directory using default settings. SVN cleanup removes all working copy locks left behind by crashed clients.
static
SvnDeleteDirectory(ICakeContext, DirectoryPath, SvnDeleteSettings) bool
Delete a directory from Subversion.
static
SvnDeleteDirectory(ICakeContext, DirectoryPath) bool
Delete a directory from Subversion.
static
SvnDeleteFile(ICakeContext, FilePath, SvnDeleteSettings) bool
Delete a file from Subversion.
static
SvnDeleteFile(ICakeContext, FilePath) bool
Delete a file from Subversion.
static
SvnExport(ICakeContext, Uri, DirectoryPath, SvnExportSettings) SvnExportResult
Export a Subversion directory tree with specific settings.
static
SvnExport(ICakeContext, Uri, DirectoryPath) SvnExportResult
Export a Subversion directory tree.
static
SvnStatusDirectory(ICakeContext, DirectoryPath, SvnStatusSettings) IEnumerable<SvnStatusResult>
Gets Subversion status about the directory at directoryPath with specific settings. The result list contains recursive status about the directoryPath (Infinity). To get status with another SvnDepth change the SvnDepth on settings.
static
SvnStatusDirectory(ICakeContext, DirectoryPath) IEnumerable<SvnStatusResult>
Gets Subversion status about the directory at directoryPath. The result list contains recursive status about the directoryPath (Infinity). To get status with another SvnDepth the overload Cake.Svn.SvnAliases.SvnStatusDirectory(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Status.SvnStatusSettings) can be used with chaning the settings parameter.
static
SvnStatusFile(ICakeContext, FilePath, SvnStatusSettings) IEnumerable<SvnStatusResult>
Gets Subversion status about file at filePath with specific settings.
static
SvnStatusFile(ICakeContext, FilePath) IEnumerable<SvnStatusResult>
Gets Subversion status about the file at filePath.
static
SvnUpdate(ICakeContext, DirectoryPath, SvnUpdateSettings) SvnUpdateResult
Updates the Subversion directory tree defined by the supplied directoryPath with specific settings. The new revision is returned as the result of the operation.
static
SvnUpdate(ICakeContext, DirectoryPath) SvnUpdateResult
Updates the Subversion directory tree defined by the supplied directoryPath. The new revision is returned as the result of the operation. To update to a specific revision the overload Cake.Svn.SvnAliases.SvnUpdate(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Update.SvnUpdateSettings) can be used with the settings parameter.
static
SvnUpdate(ICakeContext, FilePath, SvnUpdateSettings) SvnUpdateResult
Update an individual file at filePath in a Subversion tree with specific settings.
static
SvnUpdate(ICakeContext, FilePath) SvnUpdateResult
Update an individual file at filePath in a Subversion tree.
static
SvnVacuum(ICakeContext, DirectoryPath, SvnVacuumSettings) bool
Runs SVN vacuum on the given directory using given settings settings. SVN vacuum removes all ignored and unversioned files and directories. This does not revert any modifications to files within the working copy.
static
SvnVacuum(ICakeContext, DirectoryPath) bool
Runs SVN vacuum on the given directory using default settings. SVN vacuum removes all ignored and unversioned files and directories. This does not revert any modifications to files within the working copy.
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