aboutsummaryrefslogtreecommitdiffstats
path: root/src/document
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 13:25:11 +0100
committertv <tv@krebsco.de>2026-10-31 13:25:11 +0100
commit42181c43c9a1ebecaee38e71e3fcfa2384d1c1e6 (patch)
tree554df827c219b5589fe10a35d29fc6bf10fec5ba /src/document
parent6527836eaa39c44e851477e40ad03a503a9326ae (diff)
rename AutoMerge to Document
Diffstat (limited to 'src/document')
-rw-r--r--src/document/mod.rs5
1 files changed, 5 insertions, 0 deletions
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;