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