The struct version
Connect the transport to the remote repository, using the given direction.
Resets the connect options for the given transport. This is useful for updating settings or callbacks for an already connected transport.
Gets the capabilities for this remote repository.
This function may be called after a successful call to connect()
.
Get the list of available references in the remote repository.
This function may be called after a successful call to connect()
. The array returned is owned by the transport and must be kept valid until the next call to one of its functions.
Executes the push whose context is in the git_push object.
Negotiate a fetch with the remote repository.
This function may be called after a successful call to connect()
, when the direction is GIT_DIRECTION_FETCH. The function performs a negotiation to calculate the wants
list for the fetch.
Start downloading the packfile from the remote repository.
This function may be called after a successful call to negotiate_fetch(), when the direction is GIT_DIRECTION_FETCH.
Checks to see if the transport is connected
Cancels any outstanding transport operation
Close the connection to the remote repository.
This function is the reverse of connect() -- it terminates the connection to the remote end.
Frees/destructs the git_transport object.