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.Svn.
Summary
Gets Subversion information about file at filePath with specific settings.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static SvnInfoResult GetSvnFileInfo(this ICakeContext context, FilePath filePath, SvnInfoSettings settings)
Examples
Gets Subversion information about file at filePath with specific settings.
var svnInfoSettings = new SvnInfoSettings
{
Depth = SvnDepth.Unknown;
};
var localFileInfo = GetSvnFileInfo(@"C:\project\src\", svnInfoSettings);
Verbose("Path: {0}", localFileInfo.Path);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
filePath | FilePath | The file. |
settings | SvnInfoSettings | The settings. |
Return Value
Type | Description |
---|---|
SvnInfoResult | The Subversion information. If no information about the file is available on Subversion
null will be returned. For this ThrowOnError has to be set to false .
|