diff options
| author | tv <tv@krebsco.de> | 2026-10-31 18:07:07 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 18:07:07 +0100 |
| commit | 1bb1ab18bf6bb31282a136fc205121c4962b9a23 (patch) | |
| tree | 5993157040331134d7ccde05159269f6c8e3abf4 /src/state/session.rs | |
| parent | 4addfa41b3b5cd28d914539e47d314841b1af2eb (diff) | |
move all automerge references to document
Diffstat (limited to 'src/state/session.rs')
| -rw-r--r-- | src/state/session.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/session.rs b/src/state/session.rs index bf5c83f..7305c58 100644 --- a/src/state/session.rs +++ b/src/state/session.rs @@ -245,7 +245,7 @@ impl SyncSession { /// For the simulator's dump: the peer's heads as Automerge knows them, and whether /// it thinks a message is in flight. #[cfg(test)] - pub(crate) fn automerge_view(&self) -> (Option<&[crate::document::ChangeHash]>, bool) { + pub(crate) fn sync_view(&self) -> (Option<&[crate::document::ChangeHash]>, bool) { (self.state.their_heads.as_deref(), self.state.in_flight) } |
