Merge another stats instance into this one.
(&mut self, other: &PullStats)
| 425 | |
| 426 | /// Merge another stats instance into this one. |
| 427 | pub fn merge(&mut self, other: &PullStats) { |
| 428 | self.changes_downloaded += other.changes_downloaded; |
| 429 | self.tags_downloaded += other.tags_downloaded; |
| 430 | self.bytes_transferred += other.bytes_transferred; |
| 431 | self.changes_skipped += other.changes_skipped; |
| 432 | self.changes_failed += other.changes_failed; |
| 433 | self.changes_applied += other.changes_applied; |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | // PullOutcome |
no outgoing calls