void test_network_remotes__parsing_local_path_fails_if_path_not_found(void) { cl_assert( !git_remote_valid_url("/home/git/repos/libgit2.git") ); }
static inline void rugged_validate_remote_url(VALUE rb_url) { Check_Type(rb_url, T_STRING); if (!git_remote_valid_url(StringValueCStr(rb_url))) rb_raise(rb_eArgError, "Invalid URL format"); }
void test_network_remotes__parsing_ssh_remote(void) { cl_assert( git_remote_valid_url("[email protected]:libgit2/libgit2.git") ); }