C# 클래스 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.
상속: PathEdit
파일 보기 프로젝트 열기: stschake/GitSharp

공개 메소드들

메소드 설명
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.

메소드 상세

Apply() 공개 메소드

public Apply ( DirCacheEntry ent ) : void
ent DirCacheEntry
리턴 void

DeletePath() 공개 메소드

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. ///
리턴 System

DeletePath() 공개 메소드

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