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