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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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