diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-03-05 19:32:41 +0100 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-03-05 19:32:41 +0100 |
commit | 864ac49e317dc8dfd683a1017c05584bd7a8864c (patch) | |
tree | 1262c7a1524fe2bc192fb3b493e76707062021a7 /include/git2 | |
parent | c4c4bc1fd83a6682c72702cc8d25b784c9ba3cbb (diff) | |
parent | 4f8efc97c1ee06bc113443f028ba7821a7af7920 (diff) | |
download | libgit2-864ac49e317dc8dfd683a1017c05584bd7a8864c.tar.gz |
Merge branch 'ssh-urls' into development
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/remote.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index e6537ec52..1830c7218 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -198,6 +198,14 @@ GIT_EXTERN(int) git_remote_update_tips(git_remote *remote); GIT_EXTERN(int) git_remote_valid_url(const char *url); /** + * Return whether the passed URL is supported by this version of the library. + * + * @param url the url to check + * @return 1 if the url is supported, 0 otherwise +*/ +GIT_EXTERN(int) git_remote_supported_url(const char* url); + +/** * Get a list of the configured remotes for a repo * * The string array must be freed by the user. |