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

Function get_remote_object_url

http.c:1887–1893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1885}
1886
1887char *get_remote_object_url(const char *url, const char *hex,
1888 int only_two_digit_prefix)
1889{
1890 struct strbuf buf = STRBUF_INIT;
1891 append_remote_object_url(&buf, url, hex, only_two_digit_prefix);
1892 return strbuf_detach(&buf, NULL);
1893}
1894
1895void normalize_curl_result(CURLcode *result, long http_code,
1896 char *errorstr, size_t errorlen)

Callers 2

new_http_object_requestFunction · 0.85
start_mkcolFunction · 0.85

Calls 2

append_remote_object_urlFunction · 0.85
strbuf_detachFunction · 0.85

Tested by

no test coverage detected