Свойство | Тип | Описание | |
---|---|---|---|
DEFAULT_PATH_SIZE | int |
Свойство | Тип | Описание | |
---|---|---|---|
ZeroId | byte[] |
Метод | Описание | |
---|---|---|
back ( int delta ) : void |
Move to prior entry, populating this iterator with the entry data.
|
|
createEmptyTreeIterator ( ) : GitSharp.Core.TreeWalk.EmptyTreeIterator | ||
createSubtreeIterator ( Repository repo ) : |
||
createSubtreeIterator ( Repository repo, MutableObjectId idBuffer, WindowCursor curs ) : |
||
eof ( ) : bool | ||
first ( ) : bool | ||
getEntryObjectId ( ) : ObjectId |
Gets the ObjectId of the current entry.
|
|
getEntryObjectId ( MutableObjectId objectId ) : void |
Gets the ObjectId of the current entry.
|
|
getName ( byte buffer, int offset ) : void |
Get the name component of the current entry path into the provided buffer.
|
|
growPath ( int len ) : void |
Grow the _path buffer larger.
|
|
idBuffer ( ) : byte[] |
Get the byte array buffer object IDs must be copied out of.
|
|
idEqual ( |
Check if the current entry of both iterators has the same id.
|
|
idOffset ( ) : int | ||
next ( int delta ) : void | ||
pathCompare ( |
Compare the path of this current entry to another iterator's entry.
|
|
pathCompare ( |
Compare the path of this current entry to another iterator's entry.
|
|
skip ( ) : void |
Advance to the next tree entry, populating this iterator with its data.
|
|
stopWalk ( ) : void |
Indicates to the iterator that no more entries will be Read.
|
Метод | Описание | |
---|---|---|
AbstractTreeIterator ( ) : System |
Create a new iterator with no parent.
|
|
AbstractTreeIterator ( |
Create an iterator for a subtree of an existing iterator.
|
|
AbstractTreeIterator ( |
Create an iterator for a subtree of an existing iterator. The caller is responsible for setting up the path of the child iterator.
|
|
AbstractTreeIterator ( byte 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.
|
|
AbstractTreeIterator ( 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.
|
|
ensurePathCapacity ( int capacity, int length ) : void |
Ensure that path is capable to hold at least capacity bytes.
|
Метод | Описание | |
---|---|---|
AlreadyMatch ( |
||
LastPathChar ( int mode ) : int | ||
SetPathCapacity ( int capacity, int length ) : void |
Set path buffer capacity to the specified size
|
protected AbstractTreeIterator ( ) : System | ||
Результат | System |
protected AbstractTreeIterator ( |
||
p | parent tree iterator. | |
Результат | System |
protected AbstractTreeIterator ( |
||
p | parent tree iterator. | |
childPath | byte | /// Path array to be used by the child iterator. This path must /// contain the path from the top of the walk to the first child /// and must end with a '/'. /// |
childPathOffset | int |
/// position within childPath where the child can
/// insert its data. The value at
/// childPath[childPathOffset-1] must be '/'.
/// |
Результат | System |
protected AbstractTreeIterator ( byte prefix ) : System | ||
prefix | byte | /// position of this iterator in the repository tree. The value /// may be null or the empty array to indicate the prefix is the /// root of the repository. A trailing slash ('/') is /// automatically appended if the prefix does not end in '/'. /// |
Результат | System |
protected AbstractTreeIterator ( 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 '/'. /// |
Результат | System |
public abstract back ( int delta ) : void | ||
delta | int | /// Number of entries to move the iterator by. Must be a positive, /// non-zero integer. /// |
Результат | void |
public createEmptyTreeIterator ( ) : GitSharp.Core.TreeWalk.EmptyTreeIterator | ||
Результат | GitSharp.Core.TreeWalk.EmptyTreeIterator |
public abstract createSubtreeIterator ( Repository repo ) : |
||
repo | Repository | |
Результат |
public createSubtreeIterator ( Repository repo, MutableObjectId idBuffer, WindowCursor curs ) : |
||
repo | Repository | |
idBuffer | MutableObjectId | |
curs | WindowCursor | |
Результат |
protected ensurePathCapacity ( int capacity, int length ) : void | ||
capacity | int | the amount of bytes to hold |
length | int | the amount of live bytes in path buffer |
Результат | void |
public getEntryObjectId ( MutableObjectId objectId ) : void | ||
objectId | MutableObjectId | buffer to copy the object id into. |
Результат | void |
public getName ( byte buffer, int offset ) : void | ||
buffer | byte | /// The buffer to get the name into, it is assumed that buffer can hold the name. /// |
offset | int |
/// The offset of the name in the |
Результат | void |
public growPath ( int len ) : void | ||
len | int | /// Number of live bytes in the path buffer. This many bytes will /// be moved into the larger buffer. /// |
Результат | void |
public idEqual ( |
||
otherIterator | the other iterator to test against. | |
Результат | bool |
public abstract next ( int delta ) : void | ||
delta | int | |
Результат | void |
public pathCompare ( |
||
treeIterator | /// The other iterator to compare the path against. /// | |
Результат | int |
public pathCompare ( |
||
treeIterator | /// The other iterator to compare the path against. /// | |
treeIteratorMode | int |
/// The other iterator |
Результат | int |