libgit2_d.sys.transport

Undocumented in source.

Members

Aliases

git_smart_subtransport_cb
alias git_smart_subtransport_cb = int function(.git_smart_subtransport** out_, .git_transport* owner, void* param)

A function which creates a new subtransport for the smart transport

Enums

git_smart_service_t
enum git_smart_service_t

Actions that the smart transport can ask a subtransport to perform

git_transport_flags_t
enum git_transport_flags_t

Flags to pass to transport

Functions

GIT_TRANSPORT_INIT
GIT_TRANSPORT_INIT()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_smart_subtransport_git
int git_smart_subtransport_git(.git_smart_subtransport** out_, .git_transport* owner, void* param)

Create an instance of the git subtransport.

git_smart_subtransport_http
int git_smart_subtransport_http(.git_smart_subtransport** out_, .git_transport* owner, void* param)

Create an instance of the http subtransport.

git_smart_subtransport_ssh
int git_smart_subtransport_ssh(.git_smart_subtransport** out_, .git_transport* owner, void* param)

Create an instance of the ssh subtransport.

git_transport_dummy
int git_transport_dummy(.git_transport** out_, libgit2_d.types.git_remote* owner, void* payload)

Create an instance of the dummy transport.

git_transport_init
int git_transport_init(.git_transport* opts, uint version_)

Initializes a git_transport with default values. Equivalent to creating an instance with GIT_TRANSPORT_INIT.

git_transport_local
int git_transport_local(.git_transport** out_, libgit2_d.types.git_remote* owner, void* payload)

Create an instance of the local transport.

git_transport_new
int git_transport_new(.git_transport** out_, libgit2_d.types.git_remote* owner, const(char)* url)

Function to use to create a transport from a URL. The transport database is scanned to find a transport that implements the scheme of the URI (i.e. git:// or http://) and a transport object is returned to the caller.

git_transport_register
int git_transport_register(const(char)* prefix, libgit2_d.transport.git_transport_cb cb, void* param)

Add a custom transport definition, to be used in addition to the built-in set of transports that come with libgit2.

git_transport_smart
int git_transport_smart(.git_transport** out_, libgit2_d.types.git_remote* owner, void* payload)

Create an instance of the smart transport.

git_transport_smart_certificate_check
int git_transport_smart_certificate_check(.git_transport* transport, libgit2_d.types.git_cert* cert, int valid, const(char)* hostname)

Call the certificate check for this transport.

git_transport_smart_credentials
int git_transport_smart_credentials(libgit2_d.sys.credential.git_credential** out_, .git_transport* transport, const(char)* user, int methods)

Call the credentials callback for this transport

git_transport_smart_proxy_options
int git_transport_smart_proxy_options(libgit2_d.proxy.git_proxy_options* out_, .git_transport* transport)

Get a copy of the proxy options

git_transport_ssh_with_paths
int git_transport_ssh_with_paths(.git_transport** out_, libgit2_d.types.git_remote* owner, void* payload)

Create an ssh transport with custom git command paths

git_transport_unregister
int git_transport_unregister(const(char)* prefix)

Unregister a custom transport definition which was previously registered with git_transport_register.

Manifest constants

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

Structs

git_smart_subtransport
struct git_smart_subtransport

An implementation of a subtransport which carries data for the smart transport

git_smart_subtransport_definition
struct git_smart_subtransport_definition

Definition for a "subtransport"

git_smart_subtransport_stream
struct git_smart_subtransport_stream

A stream used by the smart transport to read and write data from a subtransport.

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

Meta