libgit2

git_remote_refspec_count

Version:

Get the number of refspecs for a remote

Signature

size_t git_remote_refspec_count(const git_remote *remote);

Parameters

In
remote

the remote

Returns

size_t

the amount of refspecs configured in this remote

Versions