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 file from Subversion.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static bool SvnDeleteFile(this ICakeContext context, FilePath file)
Examples
Delete a file from Subversion.
var fileRemoved = SvnDeleteFile(@"C:\project\src\newfile.cs");
Verbose("File removed: {0}", fileRemoved);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
file | FilePath | The file. |
Return Value
Type | Description |
---|---|
bool |
true if the command was successful. Otherwise false will be returned.
|