| Modifier and Type | Field and Description |
|---|---|
private int |
depth |
private FIFORevQueue |
pending |
private RevFlag |
REINTERESTING
Commits which the normal framework has marked as UNINTERESTING,
but which we now care about again.
|
private RevFlag |
UNSHALLOW
Commits which used to be shallow in the client, but which are
being extended as part of this fetch.
|
private RevWalk |
walk |
HAS_REWRITE, HAS_UNINTERESTING, NEEDS_REWRITE, SORT_COMMIT_TIME_DESC, SORT_TOPO| Constructor and Description |
|---|
DepthGenerator(DepthWalk w,
Generator s) |
| Modifier and Type | Method and Description |
|---|---|
(package private) RevCommit |
next()
Return the next commit to the application, or the next generator.
|
(package private) int |
outputType()
Obtain flags describing the output behavior of this generator.
|
(package private) void |
shareFreeList(BlockRevQueue q)
Connect the supplied queue to this generator's own free list (if any).
|
private final FIFORevQueue pending
private final int depth
private final RevWalk walk
private final RevFlag UNSHALLOW
private final RevFlag REINTERESTING
DepthGenerator(DepthWalk w, Generator s) throws MissingObjectException, IncorrectObjectTypeException, java.io.IOException
w - s - Parent generatorMissingObjectExceptionIncorrectObjectTypeExceptionjava.io.IOExceptionint outputType()
GeneratoroutputType in class Generatorvoid shareFreeList(BlockRevQueue q)
GeneratorshareFreeList in class Generatorq - another FIFO queue that wants to share our queue's free list.RevCommit next() throws MissingObjectException, IncorrectObjectTypeException, java.io.IOException
Generatornext in class GeneratorMissingObjectExceptionIncorrectObjectTypeExceptionjava.io.IOException