SvnAliases.

SvnDeleteDirectory(ICakeContext, DirectoryPath) Method

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)

Examples

Delete a directory from Subversion.

 var directoryRemoved = SvnDeleteDirectory(@"C:\project\src\newfolder\");

     Verbose("Directory removed: {0}", directoryRemoved);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
directory DirectoryPath The directory to delete.

Return Value

Type Description
bool true if the command was successful. Otherwise false will be returned.