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

Deletes a single file entry from the index. This deletion command removes only a single file at the given location, but removes multiple stages (if present) for that path. To remove a complete subtree use DeleteTree instead.
Inheritance: PathEdit
ファイルを表示 Open project: stschake/GitSharp

Public Methods

Method Description
Apply ( DirCacheEntry ent ) : void
DeletePath ( DirCacheEntry ent ) : System

Create a new deletion command for an existing entry instance.

DeletePath ( string entryPath ) : System

Create a new deletion command by path name.

Method Details

Apply() public method

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

DeletePath() public method

Create a new deletion command for an existing entry instance.
public DeletePath ( DirCacheEntry ent ) : System
ent DirCacheEntry /// Entry instance to remove. Only the path of this entry is /// actually considered during command evaluation. ///
return System

DeletePath() public method

Create a new deletion command by path name.
public DeletePath ( string entryPath ) : System
entryPath string /// Path of the file within the repository. ///
return System