MCPcopy Create free account
hub / github.com/git/git / url_scheme_name

Function url_scheme_name

connect.c:703–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701}
702
703static const char *url_scheme_name(enum url_scheme scheme)
704{
705 switch (scheme) {
706 case URL_SCHEME_LOCAL:
707 case URL_SCHEME_FILE:
708 return "file";
709 case URL_SCHEME_SSH:
710 return "ssh";
711 case URL_SCHEME_GIT:
712 return "git";
713 default:
714 return "unknown protocol";
715 }
716}
717
718static char *host_end(char **hoststart, int removebrackets)
719{

Callers 1

git_connectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected