C# 클래스 GitSharp.Core.DirectoryCache.DirCacheEditor.PathEdit

Any index record update. Applications should subclass and provide their own implementation for the Apply method. The editor will invoke apply once for each record in the index which matches the path name. If there are multiple records (for example in stages 1, 2 and 3), the edit instance will be called multiple times, once for each stage.
파일 보기 프로젝트 열기: stschake/GitSharp

공개 메소드들

메소드 설명
Apply ( DirCacheEntry ent ) : void

Apply the update to a single cache entry matching the path. After apply is invoked the entry is added to the output table, and will be included in the new index.

보호된 메소드들

메소드 설명
PathEdit ( DirCacheEntry ent ) : System

Create a new update command for an existing entry instance.

PathEdit ( string entryPath ) : System

Create a new update command by path name.

메소드 상세

Apply() 공개 추상적인 메소드

Apply the update to a single cache entry matching the path. After apply is invoked the entry is added to the output table, and will be included in the new index.
public abstract Apply ( DirCacheEntry ent ) : void
ent DirCacheEntry /// The entry being processed. All fields are zeroed out if /// the path is a new path in the index. ///
리턴 void

PathEdit() 보호된 메소드

Create a new update command for an existing entry instance.
protected PathEdit ( DirCacheEntry ent ) : System
ent DirCacheEntry /// Entry instance to match path of. Only the path of this /// entry is actually considered during command evaluation. ///
리턴 System

PathEdit() 보호된 메소드

Create a new update command by path name.
protected PathEdit ( string entryPath ) : System
entryPath string path of the file within the repository.
리턴 System