C# Class GitSharp.Core.DirectoryCache.DirCacheEditor.DeleteTree

Recursively deletes all paths under a subtree. This deletion command is more generic than DeletePath as it can remove all records which appear recursively under the same subtree. Multiple stages are removed (if present) for any deleted entry. This command will not remove a single file entry. To remove a single file use DeletePath.
Inheritance: PathEdit
Show file Open project: stschake/GitSharp

Public Methods

Method Description
Apply ( DirCacheEntry ent ) : void
DeleteTree ( string entryPath ) : System

Create a new tree deletion command by path name.

Method Details

Apply() public method

public Apply ( DirCacheEntry ent ) : void
ent DirCacheEntry
return void

DeleteTree() public method

Create a new tree deletion command by path name.
public DeleteTree ( string entryPath ) : System
entryPath string /// Path of the subtree within the repository. If the path /// does not end with "/" a "/" is implicitly added to ensure /// only the subtree's contents are matched by the command. ///
return System