libgit2

git_remote_valid_url

Version:

Return whether a string is a valid remote URL

Signature

int git_remote_valid_url(const char *url);

Parameters

const char *
In
url

the url to check

Returns

int

1 if the url is valid, 0 otherwise

Versions