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
Check if the filePath was added to the Subversion working copy.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static bool IsFileInSvnWorkingCopy(this ICakeContext context, FilePath filePath)
Examples
Check if the filePath was added to the Subversion working copy.
var isWorkingCopy = IsFileInSvnWorkingCopy(@"C:\project\src\newfolder\newfile.cs");
Verbose("The file is a working copy: {0}", IsWorkingCopy);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
filePath | FilePath | The file. |
Return Value
Type | Description |
---|---|
bool |
true if the file filePath was added to the
Subversion working copy, even it doesn't exist on the remote repository.
false if the file exist but the file was not added to the working copy.
|