Merge statistics from another operation.
(&mut self, other: &Self)
| 434 | |
| 435 | /// Merge statistics from another operation. |
| 436 | pub fn merge(&mut self, other: &Self) { |
| 437 | self.files_written += other.files_written; |
| 438 | self.directories_created += other.directories_created; |
| 439 | self.files_deleted += other.files_deleted; |
| 440 | self.files_skipped += other.files_skipped; |
| 441 | self.conflicts += other.conflicts; |
| 442 | self.bytes_written += other.bytes_written; |
| 443 | } |
| 444 | |
| 445 | /// Check if any conflicts were detected. |
| 446 | pub fn has_conflicts(&self) -> bool { |
no outgoing calls