-
- All Known Implementing Classes:
DepthWalk.ObjectWalk,DepthWalk.RevWalk
public interface DepthWalkInterface for revision walkers that perform depth filtering.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDepthWalk.CommitRevCommit with a depth (in commits) from a root.static classDepthWalk.ObjectWalkSubclass of ObjectWalk that performs depth filtering.static classDepthWalk.RevWalkSubclass of RevWalk that performs depth filtering.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RevFlaggetDeepenNotFlag()default List<ObjectId>getDeepenNots()default intgetDeepenSince()intgetDepth()Get depth to filter to.RevFlaggetReinterestingFlag()Get flag marking commits that are interesting again.RevFlaggetUnshallowFlag()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
-
-