Create an empty delta (everything is in sync).
()
| 312 | impl RemoteDelta { |
| 313 | /// Create an empty delta (everything is in sync). |
| 314 | pub fn in_sync() -> Self { |
| 315 | Self { |
| 316 | to_download: Vec::new(), |
| 317 | ours_ge_dichotomy: Vec::new(), |
| 318 | ours_ge_dichotomy_set: HashSet::new(), |
| 319 | theirs_ge_dichotomy: Vec::new(), |
| 320 | theirs_ge_dichotomy_set: HashSet::new(), |
| 321 | remote_unrecords: Vec::new(), |
| 322 | divergence_point: 0, |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | /// Convert this delta into a `PullDelta`. |
| 327 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected