aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-05 05:20:00 +0100
committertv <tv@krebsco.de>2026-11-05 05:20:00 +0100
commit18bc1b2e36bacae45ee3a0f485a117f3756152d7 (patch)
tree714ca665aa51bce43e144f398b40d57fccf08a0f /src/transport/mod.rs
parent3f660a5886b8face0d9bd117cb63be9ed0cfd6f2 (diff)
push by default
Diffstat (limited to 'src/transport/mod.rs')
-rw-r--r--src/transport/mod.rs8
1 files changed, 4 insertions, 4 deletions
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<ChangeHash>,