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

Function curl_setup_http_get

http-push.c:195–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195static void curl_setup_http_get(CURL *curl, const char *url,
196 const char *custom_req)
197{
198 curl_easy_setopt(curl, CURLOPT_HTTPGET, 1L);
199 curl_easy_setopt(curl, CURLOPT_URL, url);
200 curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, custom_req);
201 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite_null);
202}
203
204static void curl_setup_http(CURL *curl, const char *url,
205 const char *custom_req, struct buffer *buffer,

Callers 6

start_mkcolFunction · 0.85
start_moveFunction · 0.85
refresh_lockFunction · 0.85
lock_remoteFunction · 0.85
unlock_remoteFunction · 0.85
delete_remote_branchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected