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

Function packet_flush_gently

pkt-line.c:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114int packet_flush_gently(int fd)
115{
116 packet_trace("0000", 4, 1);
117 if (write_in_full(fd, "0000", 4) < 0)
118 return error(_("flush packet write failed"));
119 return 0;
120}
121
122void packet_buf_flush(struct strbuf *buf)
123{

Callers 9

apply_multi_file_filterFunction · 0.85
handshake_versionFunction · 0.85
handshake_capabilitiesFunction · 0.85
worker_thread__do_ioFunction · 0.85
do_ioFunction · 0.85
run_proc_receive_hookFunction · 0.85

Calls 3

packet_traceFunction · 0.85
write_in_fullFunction · 0.85
errorFunction · 0.85

Tested by

no test coverage detected