DepthWalk.Commit, DepthWalk.ObjectWalk, DepthWalk.RevWalk| Constructor and Description |
|---|
DepthWalk.ObjectWalk(ObjectReader or,
int depth) |
DepthWalk.ObjectWalk(Repository repo,
int depth) |
| Modifier and Type | Method and Description |
|---|---|
protected RevCommit |
createCommit(AnyObjectId id)
Construct a new unparsed commit for the given object.
|
int |
getDepth() |
RevFlag |
getReinterestingFlag() |
RevFlag |
getUnshallowFlag() |
void |
markRoot(RevObject o)
Mark a root commit (i.e., one whose depth should be considered 0.)
|
void |
markUnshallow(RevObject c)
Mark an element which used to be shallow in the client, but which
should now be considered a full commit.
|
checkConnectivity, dispose, getPathBuffer, getPathHashCode, getPathLength, getPathString, markStart, markUninteresting, markUninteresting, next, nextObject, reset, sort, sortassertNotStarted, assumeShallow, carry, carry, disposeFlag, getObjectReader, getRevFilter, getRevSort, getTreeFilter, hasRevSort, isMergedInto, isRetainBody, iterator, lookupAny, lookupBlob, lookupCommit, lookupOrNull, lookupTag, lookupTree, markStart, markStart, newFlag, parseAny, parseAny, parseBody, parseCommit, parseHeaders, parseTag, parseTree, peel, release, reset, resetRetain, resetRetain, setRetainBody, setRevFilter, setRewriteParents, setTreeFilter, toObjectWalkWithSameObjectspublic DepthWalk.ObjectWalk(Repository repo, int depth)
repo - Repository to walkdepth - Maximum depth to returnpublic DepthWalk.ObjectWalk(ObjectReader or, int depth)
or - Object Readerdepth - Maximum depth to returnpublic void markRoot(RevObject o) throws MissingObjectException, IncorrectObjectTypeException, IOException
o - Commit to markIOExceptionIncorrectObjectTypeExceptionMissingObjectExceptionpublic void markUnshallow(RevObject c) throws MissingObjectException, IncorrectObjectTypeException, IOException
c - Commit to markMissingObjectExceptionIncorrectObjectTypeExceptionIOExceptionprotected RevCommit createCommit(AnyObjectId id)
RevWalkcreateCommit in class RevWalkid - the object this walker requires a commit reference for.public int getDepth()
public RevFlag getUnshallowFlag()
getUnshallowFlag in interface DepthWalkpublic RevFlag getReinterestingFlag()
getReinterestingFlag in interface DepthWalkCopyright © 2014. All rights reserved.