From 18bc1b2e36bacae45ee3a0f485a117f3756152d7 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 5 Nov 2026 05:20:00 +0100 Subject: push by default --- src/transport/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/transport') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 2595257..85f69f5 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -744,10 +744,10 @@ pub(crate) enum SyncBody { /// An Automerge sync message, deflated (`compress`): a large one, which shrank. Deflated(#[serde(with = "crate::transport::wire::codec::sync_message")] SyncPayload), /// Changes passed on along a writer's tree as they are, with the sender's heads, - /// instead of an Automerge sync message (`AppState::push_changes`): where the sender - /// takes the message as delivered, it has everything the receiver has, and needs - /// none of the rest of one (`SyncSession::push`). No heads stand for the tips of - /// the changes, as the sender's heads mostly are. + /// instead of an Automerge sync message: where the sender takes the message as + /// delivered, the receiver rebuilds the rest of one (`SyncSession::push`, + /// `Received::pushed`). No heads stand for the tips of the changes, as the sender's + /// heads mostly are. Changes { #[serde(with = "crate::transport::wire::codec::change_hashes")] heads: Vec, -- cgit v1.3.1