Package | Description |
---|---|
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RemoteGitReplica.blockingFetch(Repository repo,
ReplicaFetchRequest req)
Fetch objects from the remote using the calling thread.
|
private void |
RemoteGitReplica.fetch(Transport transport,
ReplicaFetchRequest req) |
private void |
RemoteGitReplica.push(Repository repo,
ReplicaPushRequest req) |
Modifier and Type | Method and Description |
---|---|
private HttpConnection |
TransportHttp.connect(java.lang.String service) |
(package private) PushResult |
PushProcess.execute(ProgressMonitor monitor)
Perform push operation between local and remote repository - set remote
refs appropriately, send needed objects and update local tracking refs.
|
(package private) void |
FetchProcess.execute(ProgressMonitor monitor,
FetchResult result) |
private void |
FetchProcess.executeImp(ProgressMonitor monitor,
FetchResult result) |
FetchResult |
Transport.fetch(ProgressMonitor monitor,
java.util.Collection<RefSpec> toFetch)
Fetch objects and refs from the remote repository to the local one.
|
private java.net.URL |
TransportHttp.getServiceURL(java.lang.String service) |
private java.util.Properties |
TransportAmazonS3.loadProperties() |
private static java.util.Properties |
TransportAmazonS3.loadPropertiesFile(java.io.File propsFile) |
static Transport |
Transport.open(Repository local,
RemoteConfig cfg)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
RemoteConfig cfg,
Transport.Operation op)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
java.lang.String remote)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
java.lang.String remote,
Transport.Operation op)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
URIish uri)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
URIish uri,
java.lang.String remoteName)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(URIish uri)
Open a new transport with no local repository.
|
Transport |
TransportProtocol.open(URIish uri)
Open a new transport instance to the remote repository.
|
Transport |
TestProtocol.open(URIish uri,
Repository local,
java.lang.String remoteName)
Open a Transport instance to the other repository.
|
abstract Transport |
TransportProtocol.open(URIish uri,
Repository local,
java.lang.String remoteName)
Open a Transport instance to the other repository.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
RemoteConfig cfg)
Open new transport instances to connect two repositories.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
RemoteConfig cfg,
Transport.Operation op)
Open new transport instances to connect two repositories.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
java.lang.String remote)
Open new transport instances to connect two repositories.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
java.lang.String remote,
Transport.Operation op)
Open new transport instances to connect two repositories.
|
FetchConnection |
TestProtocol.TransportInternal.openFetch() |
abstract FetchConnection |
Transport.openFetch()
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportBundleFile.openFetch()
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportHttp.openFetch()
Begins a new connection for fetching from the remote repository.
|
PushConnection |
TestProtocol.TransportInternal.openPush() |
abstract PushConnection |
Transport.openPush()
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportBundleFile.openPush()
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportBundleStream.openPush()
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportHttp.openPush()
Begins a new connection for pushing into the remote repository.
|
PushResult |
Transport.push(ProgressMonitor monitor,
java.util.Collection<RemoteRefUpdate> toPush)
Push objects and refs from the local repository to the remote one.
|
PushResult |
Transport.push(ProgressMonitor monitor,
java.util.Collection<RemoteRefUpdate> toPush,
java.io.OutputStream out)
Push objects and refs from the local repository to the remote one.
|
private void |
FetchProcess.reopenConnection() |
protected void |
TransportHttp.setURI(URIish uri)
Set uri a
URIish object. |
Constructor and Description |
---|
TransportAmazonS3(Repository local,
URIish uri) |
TransportHttp(Repository local,
URIish uri) |
TransportHttp(URIish uri)
Create a minimal HTTP transport with default configuration values.
|