libgit2

git_transport_dummy

Version:

Create an instance of the dummy transport.

Signature

int git_transport_dummy(git_transport **out, git_remote *owner, void *payload);

Parameters

In
out

The newly created transport (out)

In
owner

The git_remote which will own this transport

void *
In
payload

You must pass NULL for this parameter.

Returns

int

0 or an error code

Versions