git_transport_init

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

@param opts the git_transport struct to initialize @param version Version of struct; pass GIT_TRANSPORT_VERSION @return Zero on success; -1 on failure.

package extern (C) nothrow @nogc
int
git_transport_init

Meta