From baf9498c69340da18001c7ca2c223ed45fddc249 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 13:25:11 +0100 Subject: rename AutoMerge to Document --- src/document/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/document/mod.rs') diff --git a/src/document/mod.rs b/src/document/mod.rs index b86d1cc..f5faa11 100644 --- a/src/document/mod.rs +++ b/src/document/mod.rs @@ -1,6 +1,11 @@ //! The replicated document: the replica with its epoch, and the store semantics //! (merged-view paths over JSON) the HTTP API and remakes work with. +/// The engine's types, under the names the rest of the crate uses: the document +/// (Automerge's `AutoCommit`), its changes and their hashes, and its writers (actors). +/// Only `document` and `remake` use Automerge itself (`architecture.md`, The document). +pub(crate) use automerge::{ActorId, AutoCommit as Document, Change, ChangeHash}; + pub(crate) mod file; pub(crate) mod lock; pub(crate) mod meta; -- cgit v1.3.1