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],
)
| 753 | /// * `local_changes` - All changes in the local view (ordered) |
| 754 | /// that are candidates for upload |
| 755 | pub async fn compute_push_delta( |
| 756 | &mut self, |
| 757 | view: &str, |
| 758 | local_hashes: &HashSet<String>, |
| 759 | local_changes: &[Node], |
| 760 | ) -> RemoteResult<PushDelta> { |
| 761 | let delta = self.compute_delta(view, local_hashes).await?; |
| 762 | Ok(delta.into_push_delta(local_changes)) |
| 763 | } |
| 764 | } |
| 765 | |
| 766 | // Tests |
nothing calls this directly
no test coverage detected