Interface DepthWalk

All Known Implementing Classes:
DepthWalk.ObjectWalk, DepthWalk.RevWalk

public interface DepthWalk
Interface for revision walkers that perform depth filtering.
  • Method Details

    • 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