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