Check if everything is in sync (no changes to transfer).
(&self)
| 380 | |
| 381 | /// Check if everything is in sync (no changes to transfer). |
| 382 | pub fn is_in_sync(&self) -> bool { |
| 383 | self.to_download.is_empty() |
| 384 | && self.ours_ge_dichotomy.is_empty() |
| 385 | && self.theirs_ge_dichotomy.is_empty() |
| 386 | && self.remote_unrecords.is_empty() |
| 387 | } |
| 388 | |
| 389 | /// Total number of items that need to be transferred. |
| 390 | pub fn transfer_count(&self) -> usize { |