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

Function packet_write

pkt-line.c:244–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void packet_write(int fd_out, const char *buf, size_t size)
245{
246 struct strbuf err = STRBUF_INIT;
247 if (do_packet_write(fd_out, buf, size, &err))
248 die("%s", err.buf);
249}
250
251void packet_fwrite(FILE *f, const char *buf, size_t size)
252{

Callers 6

git_connect_gitFunction · 0.85
send_one_itemFunction · 0.85
pack_raw_stdinFunction · 0.85
send_split_sidebandFunction · 0.85
report_resultFunction · 0.85

Calls 2

do_packet_writeFunction · 0.85
dieFunction · 0.70

Tested by 2

pack_raw_stdinFunction · 0.68
send_split_sidebandFunction · 0.68