Interface ConnectivityChecker

All Known Implementing Classes:
FullConnectivityChecker, IterativeConnectivityChecker

public interface ConnectivityChecker
Checks that a received pack only depends on objects which are reachable from a defined set of references.
Since:
5.7
  • Method Details

    • checkConnectivity

      void checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> haves, ProgressMonitor pm) throws IOException
      Checks connectivity of the commit graph after pack uploading.
      Parameters:
      connectivityCheckInfo - Input for the connectivity check.
      haves - Set of references known for client.
      pm - Monitor to publish progress to.
      Throws:
      IOException - an error occurred during connectivity checking.