SvnAliases.

SvnDeleteFile(ICakeContext, FilePath) Method

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
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

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.