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

Function end_progress

progress.c:167–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167void end_progress(OFF_T size)
168{
169 if (!am_server) {
170 struct timeval now;
171 gettimeofday(&now, NULL);
172 if (INFO_GTE(PROGRESS, 2) || want_progress_now) {
173 rprint_progress(stats.total_transferred_size,
174 stats.total_size, &now, True);
175 } else {
176 rprint_progress(size, size, &now, True);
177 memset(&ph_start, 0, sizeof ph_start);
178 }
179 }
180}
181
182void show_progress(OFF_T ofs, OFF_T size)
183{

Callers 4

send_filesFunction · 0.85
instant_progressFunction · 0.85
receive_dataFunction · 0.85
recv_filesFunction · 0.85

Calls 1

rprint_progressFunction · 0.85

Tested by

no test coverage detected