MCPcopy Index your code
hub / github.com/git/git / proto_list_append

Function proto_list_append

http.c:1064–1071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1062}
1063
1064static void proto_list_append(struct strbuf *list, const char *proto)
1065{
1066 if (!list)
1067 return;
1068 if (list->len)
1069 strbuf_addch(list, ',');
1070 strbuf_addstr(list, proto);
1071}
1072
1073static long get_curl_allowed_protocols(int from_user, struct strbuf *list)
1074{

Callers 1

Calls 2

strbuf_addchFunction · 0.85
strbuf_addstrFunction · 0.85

Tested by

no test coverage detected