MCPcopy Create free account
hub / github.com/RsyncProject/rsync / write_end_of_flist

Function write_end_of_flist

flist.c:2112–2122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2110}
2111
2112static void write_end_of_flist(int f, int send_io_error)
2113{
2114 if (xfer_flags_as_varint) {
2115 write_varint(f, 0);
2116 write_varint(f, send_io_error ? io_error : 0);
2117 } else if (send_io_error) {
2118 write_shortint(f, XMIT_EXTENDED_FLAGS|XMIT_IO_ERROR_ENDLIST);
2119 write_varint(f, io_error);
2120 } else
2121 write_byte(f, 0);
2122}
2123
2124void send_extra_file_list(int f, int at_least)
2125{

Callers 2

send_extra_file_listFunction · 0.85
send_file_listFunction · 0.85

Calls 3

write_varintFunction · 0.85
write_shortintFunction · 0.85
write_byteFunction · 0.85

Tested by

no test coverage detected