Class PedestrianReachabilityChecker

java.lang.Object
org.eclipse.jgit.internal.revwalk.PedestrianReachabilityChecker
All Implemented Interfaces:
ReachabilityChecker

public class PedestrianReachabilityChecker extends Object implements ReachabilityChecker
Checks the reachability walking the graph from the starters towards the target.
  • Field Details

    • topoSort

      private final boolean topoSort
    • walk

      private final RevWalk walk
  • Constructor Details

    • PedestrianReachabilityChecker

      public PedestrianReachabilityChecker(boolean topoSort, RevWalk walk)
      New instance of the reachability checker using a existing walk.
      Parameters:
      topoSort - walk commits in topological order
      walk - RevWalk instance to reuse. Caller retains ownership.
  • Method Details