libgit2

git_transport_local

Version:

Create an instance of the local transport.

Signature

int git_transport_local(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