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 file or directory at repositoryUrl.
The result list contains recursive information about the repositoryUrl
(
Infinity
). To get information with another SvnDepth
the overload Cake.Svn.SvnAliases.GetSvnDirectoryInfo(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Info.SvnInfoSettings)
can be used with changing the settings parameter.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static IEnumerable<SvnInfoResult> GetSvnRemoteInfo(this ICakeContext context, Uri repositoryUrl)
Examples
Gets Subversion information about the file or directory at repositoryUrl.
The result list contains recursive information about the repositoryUrl
(Infinity
). To get information with another SvnDepth
the overload Cake.Svn.SvnAliases.GetSvnDirectoryInfo(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Info.SvnInfoSettings)
can be used with changing the settings parameter.
var remoteInfo = GetSvnRemoteInfo(new Uri("https://svn.example.com/"));
foreach(var svnInfoResult in remoteInfo)
{
Verbose("Path: {0}", svnInfoResult.Path);
}
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
repositoryUrl | Uri | The Uri. |
Return Value
Type | Description |
---|---|
IEnumerable |
A result list containing recursive information about the repositoryUrl
(Infinity ). To get information with another SvnDepth
the overload Cake.Svn.SvnAliases.GetSvnDirectoryInfo(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Info.SvnInfoSettings)
can be used with changing the settings parameter |