libgit2

git_remote_is_valid_name

Version:

Ensure the remote name is well-formed.

Signature

int git_remote_is_valid_name(const char *remote_name);

Parameters

const char *
In
remote_name

name to be checked.

Returns

int

1 if the reference name is acceptable; 0 if it isn't

Versions