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 ClassesModifier and TypeInterfaceDescriptionstatic class
POJO which is used to pass all information which is needed to perform connectivity check. -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkConnectivity
(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> haves, ProgressMonitor pm) Checks connectivity of the commit graph after pack uploading.
-
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.
-