libgit2

git_remote_get_fetch_refspecs

Version:

Get the remote's list of fetch refspecs

The memory is owned by the user and should be freed with git_strarray_free.

Signature

int git_remote_get_fetch_refspecs(git_strarray *array, const git_remote *remote);

Parameters

In
array

pointer to the array in which to store the strings

In
remote

the remote to query

Returns

int

Versions