Compute a push delta for a given view. # Arguments `view` - The view to push to `local_hashes` - Hashes present in the local repository `local_changes` - All changes in the local view (ordered) that are candidates for upload
(
&mut self,
view: &str,
local_hashes: &HashSet<String>,
local_changes: &[Node],
)
| 792 | /// * `local_changes` - All changes in the local view (ordered) |
| 793 | /// that are candidates for upload |
| 794 | pub async fn compute_push_delta( |
| 795 | &mut self, |
| 796 | view: &str, |
| 797 | local_hashes: &HashSet<String>, |
| 798 | local_changes: &[Node], |
| 799 | ) -> RemoteResult<PushDelta> { |
| 800 | let delta = self.compute_delta(view, local_hashes).await?; |
| 801 | Ok(delta.into_push_delta(local_changes)) |
| 802 | } |
| 803 | } |
| 804 | |
| 805 | // Tests |
nothing calls this directly
no test coverage detected