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 Classes Modifier and Type Interface Description static class
DepthWalk.Commit
RevCommit with a depth (in commits) from a root.static class
DepthWalk.ObjectWalk
Subclass of ObjectWalk that performs depth filtering.static class
DepthWalk.RevWalk
Subclass of RevWalk that performs depth filtering.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RevFlag
getDeepenNotFlag()
default List<ObjectId>
getDeepenNots()
default int
getDeepenSince()
int
getDepth()
Get depth to filter to.RevFlag
getReinterestingFlag()
Get flag marking commits that are interesting again.RevFlag
getUnshallowFlag()
Get flag marking commits that should become unshallow.
-
-
-
Method Detail
-
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
default List<ObjectId> 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
-
-