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>,
)
| 774 | /// This is a convenience method that runs `compute_delta` and converts |
| 775 | /// the result into a `PullDelta`. |
| 776 | pub async fn compute_pull_delta( |
| 777 | &mut self, |
| 778 | view: &str, |
| 779 | local_hashes: &HashSet<String>, |
| 780 | ) -> RemoteResult<PullDelta> { |
| 781 | let remote_state = self.remote.get_state(view).await?; |
| 782 | let delta = self.compute_delta(view, local_hashes).await?; |
| 783 | Ok(delta.into_pull_delta(Some(remote_state))) |
| 784 | } |
| 785 | |
| 786 | /// Compute a push delta for a given view. |
| 787 | /// |
nothing calls this directly
no test coverage detected