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 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.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static IEnumerable<SvnStatusResult> SvnStatusDirectory(this ICakeContext context, DirectoryPath directoryPath)
Examples
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 changing the settings parameter.
var localDirectoryStatus = SvnStatusDirectory(@"C:\project\src\");
foreach(var svnStatusResult in localDirectoryStatus)
{
Verbose("Path: {0}", svnStatusResult.Path);
}
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
directoryPath | DirectoryPath | The directory. |
Return Value
Type | Description |
---|---|
IEnumerable |
A result list containing 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 changing the settings parameter.
|