SvnAliases.

GetSvnFileInfo(ICakeContext, FilePath) Method

Summary

Gets Subversion information about the file at filePath.
Assembly
Cake.Svn.dll
Namespace
Cake.Svn
Containing Type
SvnAliases

Syntax

public static SvnInfoResult GetSvnFileInfo(this ICakeContext context, FilePath filePath)

Examples

Gets Subversion information about the file at filePath.

 var localFileInfo = GetSvnFileInfo(@"C:\project\src\file.cs");

     Verbose("Path: {0}", localFileInfo.Path);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
filePath FilePath The file.

Return Value

Type Description
SvnInfoResult The Subversion information.