C# 클래스 GitSharp.Core.DirectoryCache.DirCacheIterator

Iterate a DirCache as part of a TreeWalk. This is an iterator to adapt a loaded DirCache instance (such as Read from an existing .git/index file) to the tree structure used by a TreeWalk, making it possible for applications to walk over any combination of tree objects already in the object database, index files, or working directories.
상속: GitSharp.Core.TreeWalk.AbstractTreeIterator
파일 보기 프로젝트 열기: jagregory/GitSharp 1 사용 예제들

공개 메소드들

메소드 설명
DirCacheIterator ( DirCache dc ) : System

Create a new iterator for an already loaded DirCache instance. The iterator implementation may copy part of the cache's data during construction, so the cache must be Read in prior to creating the iterator.

DirCacheIterator ( DirCacheIterator parentIterator, DirCacheTree cacheTree ) : System
back ( int delta ) : void
createEmptyTreeIterator ( ) : GitSharp.Core.TreeWalk.EmptyTreeIterator
createSubtreeIterator ( Repository repo ) : AbstractTreeIterator
eof ( ) : bool
first ( ) : bool
getDirCacheEntry ( ) : DirCacheEntry

Get the DirCacheEntry for the current file.

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

비공개 메소드들

메소드 설명
ParseEntry ( ) : void

메소드 상세

DirCacheIterator() 공개 메소드

Create a new iterator for an already loaded DirCache instance. The iterator implementation may copy part of the cache's data during construction, so the cache must be Read in prior to creating the iterator.
public DirCacheIterator ( DirCache dc ) : System
dc DirCache /// The cache to walk. It must be already loaded into memory. ///
리턴 System

DirCacheIterator() 공개 메소드

public DirCacheIterator ( DirCacheIterator parentIterator, DirCacheTree cacheTree ) : System
parentIterator DirCacheIterator
cacheTree DirCacheTree
리턴 System

back() 공개 메소드

public back ( int delta ) : void
delta int
리턴 void

createEmptyTreeIterator() 공개 메소드

public createEmptyTreeIterator ( ) : GitSharp.Core.TreeWalk.EmptyTreeIterator
리턴 GitSharp.Core.TreeWalk.EmptyTreeIterator

createSubtreeIterator() 공개 메소드

public createSubtreeIterator ( Repository repo ) : AbstractTreeIterator
repo Repository
리턴 GitSharp.Core.TreeWalk.AbstractTreeIterator

eof() 공개 메소드

public eof ( ) : bool
리턴 bool

first() 공개 메소드

public first ( ) : bool
리턴 bool

getDirCacheEntry() 공개 메소드

Get the DirCacheEntry for the current file.
public getDirCacheEntry ( ) : DirCacheEntry
리턴 DirCacheEntry

idBuffer() 공개 메소드

public idBuffer ( ) : byte[]
리턴 byte[]

idOffset() 공개 메소드

public idOffset ( ) : int
리턴 int

next() 공개 메소드

public next ( int delta ) : void
delta int
리턴 void