libgit2

git_remote_ls

Version:

Get a list of refs at the remote

The remote (or more exactly its transport) must be connected.

Signature

int git_remote_ls(git_remote *remote, git_headarray *refs);

Parameters

In
remote

the remote

In
refs

where to store the refs

Returns

int

GIT_SUCCESS or an error code

Versions