Package org.eclipse.jgit.revwalk
Interface DepthWalk
- All Known Implementing Classes:
DepthWalk.ObjectWalk
,DepthWalk.RevWalk
public interface DepthWalk
Interface for revision walkers that perform depth filtering.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
RevCommit with a depth (in commits) from a root.static class
Subclass of ObjectWalk that performs depth filtering.static class
Subclass of RevWalk that performs depth filtering. -
Method Summary
Modifier and TypeMethodDescriptiondefault int
int
getDepth()
Get depth to filter to.Get flag marking commits that are interesting again.Get flag marking commits that should become unshallow.
-
Method Details
-
getDepth
int getDepth()Get depth to filter to.- Returns:
- Depth to filter to.
-
getDeepenSince
default int getDeepenSince()- Returns:
- the deepen-since value; if not 0, this walk only returns commits whose commit time is at or after this limit
- Since:
- 5.2
-
getDeepenNots
- Returns:
- the objects specified by the client using --shallow-exclude
- Since:
- 5.2
-
getUnshallowFlag
RevFlag getUnshallowFlag()Get flag marking commits that should become unshallow.- Returns:
- flag marking commits that should become unshallow.
-
getReinterestingFlag
RevFlag getReinterestingFlag()Get flag marking commits that are interesting again.- Returns:
- flag marking commits that are interesting again.
-
getDeepenNotFlag
RevFlag getDeepenNotFlag()- Returns:
- flag marking commits that are to be excluded because of --shallow-exclude
- Since:
- 5.2
-