| Modifier and Type | Field and Description |
|---|---|
| private final File | |
| pack-priv static final TransportProtocol |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | TransportBundleFile(URIish
a uri, File org. object.transport bundle path bundlePath)Constructor for TransportBundleFile. |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract org. Implements java. Closes this resource, relinquishing any underlying resources. |
| public FetchConnection | openFetch()
Implements abstract org. Begins a new connection for fetching from the remote repository. |
| public PushConnection | openPush()
Implements abstract org. Begins a new connection for pushing into the remote repository. |
| bundle | back to summary |
|---|---|
| private final File bundle | |
| PROTO_BUNDLE | back to summary |
|---|---|
| pack-priv static final TransportProtocol PROTO_BUNDLE | |
| TransportBundleFile | back to summary |
|---|---|
| pack-priv TransportBundleFile(Repository local, URIish uri, File bundlePath) | |
| TransportBundleFile | back to summary |
|---|---|
| public TransportBundleFile(URIish uri, File bundlePath) Constructor for TransportBundleFile.
| |
| close | back to summary |
|---|---|
| public void close() Implements abstract org. Implements java. Doc from org. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
Close any resources used by this transport. If the remote repository is contacted by a network socket this method must close that network socket, disconnecting the two peers. If the remote repository is actually local (same system) this method must close any open file handles used to read the "remote" repository.
| |
| openFetch | back to summary |
|---|---|
| public FetchConnection openFetch() throws NotSupportedException, TransportException Implements abstract org. Doc from org. Begins a new connection for fetching from the remote repository. If the transport has no local repository, the fetch connection can only be used for reading remote refs.
| |
| openPush | back to summary |
|---|---|
| public PushConnection openPush() throws NotSupportedException Implements abstract org. Doc from org. Begins a new connection for pushing into the remote repository.
| |