SvnInfo Class

Summary

Class for retrieving information about a Subversion controlled file or directory.
Assembly
Cake.Svn.dll
Namespace
Cake.Svn.Info
Base Types
graph BT Type-->Base0["SvnTool<SvnRemoteSettings>"] Base0-->Base1["Object"] Type["SvnInfo"] class Type type-node

Syntax

public sealed class SvnInfo : SvnTool<SvnRemoteSettings>

Constructors

Name Summary
SvnInfo(ICakeEnvironment, Func<ISvnClient>) Initializes a new instance of the SvnInfo class.

Methods

Name Value Summary
GetInfo(DirectoryPath, SvnInfoSettings) IEnumerable<SvnInfoResult>
Gets Subversion information about the directory at directoryPath.
GetInfo(FilePath, SvnInfoSettings) IEnumerable<SvnInfoResult>
Gets Subversion information about the file at filePath.
GetInfo(Uri, SvnInfoSettings) IEnumerable<SvnInfoResult>
Gets Subversion information about the file or directory at repositoryUrl.
IsDirectoryInSvnWorkingCopy(DirectoryPath) bool
Gets the information whether the directoryPath was added to the Subversion working copy.
IsFileInSvnWorkingCopy(FilePath) bool
Gets the information whether the filePath was added to the Subversion working copy.

Extension Methods

Name Value Summary
Dump<SvnInfo>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SvnInfo>(SvnInfo[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<SvnInfo>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<SvnInfo>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<SvnInfo>(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<SvnInfo>(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