git_transport_init

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

package extern (C) nothrow @nogc
int
git_transport_init

Parameters

opts .git_transport*

the git_transport struct to initialize

Return Value

Type: int

Zero on success; -1 on failure.

Meta