Class RemoteGitReplica


  • public class RemoteGitReplica
    extends KetchReplica
    Representation of a Git repository on a remote replica system.

    KetchLeader will contact the replica using the Git wire protocol.

    The remote replica may be fully Ketch-aware, or a standard Git server.

    • Constructor Detail

      • RemoteGitReplica

        public RemoteGitReplica​(KetchLeader leader,
                                String name,
                                URIish uri,
                                ReplicaConfig cfg,
                                @Nullable
                                RemoteConfig rc)
        Configure a new remote.
        Parameters:
        leader - instance this replica follows.
        name - unique-ish name identifying this remote for debugging.
        uri - URI to connect to the follower's repository.
        cfg - how Ketch should treat the remote system.
        rc - optional remote configuration describing how to contact the peer repository.