libgit2

git_remote_ls

Version:

Get a list of refs at the remote

The remote (or more exactly its transport) must be connected. The memory belongs to the remote.

Signature

int git_remote_ls(git_remote *remote, git_headlist_cb list_cb, void *payload);

Parameters

In
remote

the remote

In
list_cb
void *
In
payload

Returns

int

0 or an error code

Versions