aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/mod.rs
blob: f5faa113381ccf3c8fe107bd2b47e10a8a80dc33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//! 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;
pub(crate) mod replica;
pub(crate) mod store;