diff options
| author | tv <tv@krebsco.de> | 2026-11-03 05:21:25 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-03 05:21:25 +0100 |
| commit | 8366f7c5de474753dbfbf88431917e79c15e5389 (patch) | |
| tree | 8c3ed8cca74760ff98b58264843765a3d8e65d3b /src/document | |
| parent | 96d7744dd29a3c783b43a7a6697af7d5d5719a10 (diff) | |
replace eager links by trees
Diffstat (limited to 'src/document')
| -rw-r--r-- | src/document/sync.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/document/sync.rs b/src/document/sync.rs index 8780bf2..44ad833 100644 --- a/src/document/sync.rs +++ b/src/document/sync.rs @@ -30,13 +30,6 @@ pub(crate) fn decode(payload: &SyncPayload) -> anyhow::Result<Received> { .map_err(|error| anyhow::anyhow!("Automerge decode failed: {error:?}")) } -impl Received { - /// Whether it carries changes (it may carry only heads and what the peer needs). - pub(crate) fn carries_changes(&self) -> bool { - !self.0.changes.is_empty() - } -} - /// A sync message being handed to our transport (for Mycelium: the HTTP request is in /// progress). #[derive(Clone)] |
