Class PackWriter.DepthAwareVisitationPolicy

java.lang.Object
org.eclipse.jgit.internal.storage.pack.PackWriter.DepthAwareVisitationPolicy
All Implemented Interfaces:
ObjectWalk.VisitationPolicy
Enclosing class:
PackWriter

private static class PackWriter.DepthAwareVisitationPolicy extends Object implements ObjectWalk.VisitationPolicy
A visitation policy which uses the depth at which the object is seen to decide if re-traversal is necessary. In particular, if the object has already been visited at this depth or shallower, it is not necessary to re-visit at this depth.
  • Field Details

  • Constructor Details

    • DepthAwareVisitationPolicy

      DepthAwareVisitationPolicy(ObjectWalk walk)
  • Method Details