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

Function write_del_stats

main.c:225–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void write_del_stats(int f)
226{
227 if (read_batch)
228 write_int(f, NDX_DEL_STATS);
229 else
230 write_ndx(f, NDX_DEL_STATS);
231 write_varint(f, stats.deleted_files - stats.deleted_dirs
232 - stats.deleted_symlinks - stats.deleted_devices
233 - stats.deleted_specials);
234 write_varint(f, stats.deleted_dirs);
235 write_varint(f, stats.deleted_symlinks);
236 write_varint(f, stats.deleted_devices);
237 write_varint(f, stats.deleted_specials);
238}
239
240void read_del_stats(int f)
241{

Callers 2

read_ndx_and_attrsFunction · 0.85
generate_filesFunction · 0.85

Calls 3

write_intFunction · 0.85
write_ndxFunction · 0.85
write_varintFunction · 0.85

Tested by

no test coverage detected