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

Function proto_is_http

credential.c:140–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static int proto_is_http(const char *s)
141{
142 if (!s)
143 return 0;
144 return !strcmp(s, "https") || !strcmp(s, "http");
145}
146
147static void credential_describe(struct credential *c, struct strbuf *out);
148static void credential_format(struct credential *c, struct strbuf *out);

Callers 1

credential_apply_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected