C# Class 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.
Afficher le fichier Open project: stschake/GitSharp

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

Apply() public abstract méthode

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. ///
Résultat void

PathEdit() protected méthode

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. ///
Résultat System

PathEdit() protected méthode

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