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
Delete a directory from Subversion.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static bool SvnDeleteDirectory(this ICakeContext context, DirectoryPath directory, SvnDeleteSettings settings)
Examples
Delete a directory from Subversion.
var svnDeleteSettings = new SvnDeleteSettings
{
Force = true
};
var directoryRemoved = SvnDeleteDirectory(@"C:\project\src\newfolder\", svnDeleteSettings);
Verbose("Directory removed: {0}", directoryRemoved);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
directory | DirectoryPath | The directory to delete. |
settings | SvnDeleteSettings | The settings. |
Return Value
Type | Description |
---|---|
bool |
true if the command was successful. Otherwise false will be returned.
|