- cancel
void function(.git_transport* transport) cancel;
Cancels any outstanding transport operation
- close
int function(.git_transport* transport) close;
Close the connection to the remote repository.
- connect
int function(.git_transport* transport, const(char)* url, libgit2_d.credential.git_credential_acquire_cb cred_acquire_cb, void* cred_acquire_payload, const(libgit2_d.proxy.git_proxy_options)* proxy_opts, int direction, int flags) connect;
Connect the transport to the remote repository, using the given
direction.
- download_pack
int function(.git_transport* transport, libgit2_d.types.git_repository* repo, libgit2_d.indexer.git_indexer_progress* stats, libgit2_d.indexer.git_indexer_progress_cb progress_cb, void* progress_payload) 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_d.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_d.types.git_repository* repo, const(libgit2_d.types.git_remote_head)** refs, size_t count) negotiate_fetch;
Negotiate a fetch with the remote repository.
- push
int function(.git_transport* transport, libgit2_d.types.git_push* push, const(libgit2_d.types.git_remote_callbacks)* callbacks) push;
Executes the push whose context is in the git_push object.
- read_flags
int function(.git_transport* transport, int* flags) read_flags;
Reads the flags value previously passed into connect()
- set_callbacks
int function(.git_transport* transport, libgit2_d.transport.git_transport_message_cb progress_cb, libgit2_d.transport.git_transport_message_cb error_cb, libgit2_d.cert.git_transport_certificate_check_cb certificate_check_cb, void* payload) set_callbacks;
Set progress and error callbacks
- set_custom_headers
int function(.git_transport* transport, const(libgit2_d.strarray.git_strarray)* custom_headers) set_custom_headers;
Set custom headers for HTTP requests
- version_
uint version_;