Interface RefAdvancerWalk.InPackPredicate

Enclosing class:
RefAdvancerWalk
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface RefAdvancerWalk.InPackPredicate
True when the commit is in the target set
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if the commit belongs to the "pack" (target set of objects)
  • Method Details

    • test

      boolean test(RevCommit c) throws IOException
      Check if the commit belongs to the "pack" (target set of objects)
      Parameters:
      c - a commit
      Returns:
      true if the commit is in the set
      Throws:
      IOException - an error reading data