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

Function send_strbuf

http-backend.c:179–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179static void send_strbuf(struct strbuf *hdr,
180 const char *type, struct strbuf *buf)
181{
182 hdr_int(hdr, content_length, buf->len);
183 hdr_str(hdr, content_type, type);
184 end_headers(hdr);
185 write_or_die(1, buf->buf, buf->len);
186}
187
188static void send_local_file(struct strbuf *hdr, const char *the_type,
189 const char *name)

Callers 3

get_info_refsFunction · 0.85
get_headFunction · 0.85
get_info_packsFunction · 0.85

Calls 4

hdr_intFunction · 0.85
hdr_strFunction · 0.85
end_headersFunction · 0.85
write_or_dieFunction · 0.85

Tested by

no test coverage detected