Class DepthWalk.RevWalk

  • All Implemented Interfaces:
    java.lang.Iterable<RevCommit>, DepthWalk
    Enclosing interface:
    DepthWalk

    public static class DepthWalk.RevWalk
    extends RevWalk
    implements DepthWalk
    Subclass of RevWalk that performs depth filtering.
    • Constructor Detail

      • RevWalk

        public RevWalk​(Repository repo,
                       int depth)
        Parameters:
        repo - Repository to walk
        depth - Maximum depth to return
      • RevWalk

        public RevWalk​(ObjectReader or,
                       int depth)
        Parameters:
        or - ObjectReader to use
        depth - Maximum depth to return