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 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.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static IEnumerable<SvnInfoResult> GetSvnDirectoryInfo(this ICakeContext context, DirectoryPath directoryPath, SvnInfoSettings settings)
Examples
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.
var svnInfoSettings = new SvnInfoSettings
{
Depth = SvnDepth.Unknown;
};
var localDirectoryInfo = GetSvnDirectoryInfo(@"C:\project\src\", svnInfoSettings);
foreach(var svnInfoResult in localDirectoryInfo)
{
Verbose("Path: {0}", svnInfoResult.Path);
}
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
directoryPath | DirectoryPath | The directory. |
settings | SvnInfoSettings | The settings. |
Return Value
Type | Description |
---|---|
IEnumerable |
A result list containing recursive information about the directoryPath
(Infinity ). To get information with another SvnDepth
change the SvnDepth on settings |