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

Function curl_dump_info

http.c:987–997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

985}
986
987static void curl_dump_info(char *data, size_t size)
988{
989 struct strbuf buf = STRBUF_INIT;
990
991 strbuf_add(&buf, data, size);
992
993 redact_sensitive_info_header(&buf);
994 trace_printf_key(&trace_curl, "== Info: %s", buf.buf);
995
996 strbuf_release(&buf);
997}
998
999static int curl_trace(CURL *handle UNUSED, curl_infotype type,
1000 char *data, size_t size,

Callers 1

curl_traceFunction · 0.85

Calls 3

strbuf_addFunction · 0.85
strbuf_releaseFunction · 0.85

Tested by

no test coverage detected