Compute a pull delta for a given view. This is a convenience method that runs `compute_delta` and converts the result into a `PullDelta`.
(
&mut self,
view: &str,
local_hashes: &HashSet<String>,
)
| 735 | /// This is a convenience method that runs `compute_delta` and converts |
| 736 | /// the result into a `PullDelta`. |
| 737 | pub async fn compute_pull_delta( |
| 738 | &mut self, |
| 739 | view: &str, |
| 740 | local_hashes: &HashSet<String>, |
| 741 | ) -> RemoteResult<PullDelta> { |
| 742 | let remote_state = self.remote.get_state(view).await?; |
| 743 | let delta = self.compute_delta(view, local_hashes).await?; |
| 744 | Ok(delta.into_pull_delta(Some(remote_state))) |
| 745 | } |
| 746 | |
| 747 | /// Compute a push delta for a given view. |
| 748 | /// |
nothing calls this directly
no test coverage detected