git_transport

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Members

Variables

cancel
void function(.git_transport* transport) cancel;

Cancels any outstanding transport operation

capabilities
int function(uint* capabilities, .git_transport* transport) capabilities;

Gets the capabilities for this remote repository.

close
int function(.git_transport* transport) close;

Close the connection to the remote repository.

connect
int function(.git_transport* transport, const(char)* url, int direction, const(libgit2.remote.git_remote_connect_options)* connect_opts) connect;

Connect the transport to the remote repository, using the given direction.

download_pack
int function(.git_transport* transport, libgit2.types.git_repository* repo, libgit2.indexer.git_indexer_progress* stats) download_pack;

Start downloading the packfile from the remote repository.

free
void function(.git_transport* transport) free;

Frees/destructs the git_transport object.

is_connected
int function(.git_transport* transport) is_connected;

Checks to see if the transport is connected

ls
int function(const(libgit2.types.git_remote_head)*** out_, size_t* size, .git_transport* transport) ls;

Get the list of available references in the remote repository.

negotiate_fetch
int function(.git_transport* transport, libgit2.types.git_repository* repo, const(libgit2.types.git_remote_head)** refs, size_t count) negotiate_fetch;

Negotiate a fetch with the remote repository.

oid_type
int function(libgit2.oid.git_oid_t* object_type, .git_transport* transport) oid_type;

Gets the object type for the remote repository.

push
int function(.git_transport* transport, libgit2.types.git_push* push) push;

Executes the push whose context is in the git_push object.

set_connect_opts
int function(.git_transport* transport, const(libgit2.remote.git_remote_connect_options)* connect_opts) set_connect_opts;

Resets the connect options for the given transport. This is useful for updating settings or callbacks for an already connected transport.

version_
uint version_;

The struct version

Meta