C# Class GitSharp.Core.TreeWalk.WorkingTreeIterator

Walks a working directory tree as part of a {@link TreeWalk}. Most applications will want to use the standard implementation of this iterator, {@link FileTreeIterator}, as that does all IO through the standard java.io package. Plugins for a Java based IDE may however wish to Create their own implementations of this class to allow traversal of the IDE's project space, as well as benefit from any caching the IDE may have. FileTreeIterator
Inheritance: AbstractTreeIterator
Afficher le fichier Open project: stschake/GitSharp Class Usage Examples

Protected Properties

Свойство Type Description
Eof Entry[]

Private Properties

Свойство Type Description
IdBufferBlob byte[]
InitializeDigest void
LastPathChar int
ParseEntry void

Méthodes publiques

Méthode Description
back ( int delta ) : void
eof ( ) : bool
first ( ) : bool
getEntryLastModified ( ) : long

Get the last modified time of this entry.

getEntryLength ( ) : long

Get the byte Length of this entry.

idBuffer ( ) : byte[]
idOffset ( ) : int
next ( int delta ) : void

Méthodes protégées

Méthode Description
Init ( Entry list ) : void

Constructor helper.

WorkingTreeIterator ( ) : System

Create a new iterator with no parent.

WorkingTreeIterator ( WorkingTreeIterator parent ) : System

Create an iterator for a subtree of an existing iterator.

WorkingTreeIterator ( string prefix ) : System

Create a new iterator with no parent and a prefix. The prefix path supplied is inserted in front of all paths generated by this iterator. It is intended to be used when an iterator is being created for a subsection of an overall repository and needs to be combined with other iterators that are created to run over the entire repository namespace.

Private Methods

Méthode Description
IdBufferBlob ( Entry entry ) : byte[]
InitializeDigest ( ) : void
LastPathChar ( Entry e ) : int
ParseEntry ( ) : void

Method Details

Init() protected méthode

Constructor helper.
protected Init ( Entry list ) : void
list Entry /// Files in the subtree of the work tree this iterator operates on. ///
Résultat void

WorkingTreeIterator() protected méthode

Create a new iterator with no parent.
protected WorkingTreeIterator ( ) : System
Résultat System

WorkingTreeIterator() protected méthode

Create an iterator for a subtree of an existing iterator.
protected WorkingTreeIterator ( WorkingTreeIterator parent ) : System
parent WorkingTreeIterator Parent tree iterator.
Résultat System

WorkingTreeIterator() protected méthode

Create a new iterator with no parent and a prefix. The prefix path supplied is inserted in front of all paths generated by this iterator. It is intended to be used when an iterator is being created for a subsection of an overall repository and needs to be combined with other iterators that are created to run over the entire repository namespace.
protected WorkingTreeIterator ( string prefix ) : System
prefix string /// Position of this iterator in the repository tree. The value /// may be null or the empty string to indicate the prefix is the /// root of the repository. A trailing slash ('/') is /// automatically appended if the prefix does not end in '/'. ///
Résultat System

back() public méthode

public back ( int delta ) : void
delta int
Résultat void

eof() public méthode

public eof ( ) : bool
Résultat bool

first() public méthode

public first ( ) : bool
Résultat bool

getEntryLastModified() public méthode

Get the last modified time of this entry.
public getEntryLastModified ( ) : long
Résultat long

getEntryLength() public méthode

Get the byte Length of this entry.
public getEntryLength ( ) : long
Résultat long

idBuffer() public méthode

public idBuffer ( ) : byte[]
Résultat byte[]

idOffset() public méthode

public idOffset ( ) : int
Résultat int

next() public méthode

public next ( int delta ) : void
delta int
Résultat void

Property Details

Eof protected_oe static_oe property

An empty entry array, suitable for Init.
protected static Entry[] Eof
Résultat Entry[]