MCPcopy Create free account
hub / github.com/git/git / end_headers

Function end_headers

http-backend.c:130–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130static void end_headers(struct strbuf *hdr)
131{
132 strbuf_add(hdr, "\r\n", 2);
133 write_or_die(1, hdr->buf, hdr->len);
134 strbuf_release(hdr);
135}
136
137__attribute__((format (printf, 2, 3)))
138static NORETURN void not_found(struct strbuf *hdr, const char *err, ...)

Callers 9

not_foundFunction · 0.85
forbiddenFunction · 0.85
send_strbufFunction · 0.85
send_local_fileFunction · 0.85
get_info_refsFunction · 0.85
check_content_typeFunction · 0.85
service_rpcFunction · 0.85
die_webcgiFunction · 0.85
bad_requestFunction · 0.85

Calls 3

strbuf_addFunction · 0.85
write_or_dieFunction · 0.85
strbuf_releaseFunction · 0.85

Tested by

no test coverage detected