Package org.eclipse.jgit.transport
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ConnectivityChecker.ConnectivityCheckInfo
POJO which is used to pass all information which is needed to perform connectivity check.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> haves, ProgressMonitor pm)
Checks connectivity of the commit graph after pack uploading.
-
-
-
Method Detail
-
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.
-
-