aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 18:38:43 +0100
committertv <tv@krebsco.de>2026-10-31 18:38:43 +0100
commita65c491cfc1b0fea8860ad64ab29a6ee8ad0faef (patch)
treeeb5a4b4284ea448a3e3a64fc6824376510a24d40 /src/document/mod.rs
parent4a9f4507f3161791f80c8c25a6f0e9ccd3649c2c (diff)
move SyncSession to document
Diffstat (limited to 'src/document/mod.rs')
-rw-r--r--src/document/mod.rs13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/document/mod.rs b/src/document/mod.rs
index 2230e47..671bf5d 100644
--- a/src/document/mod.rs
+++ b/src/document/mod.rs
@@ -36,6 +36,7 @@ pub(crate) mod lock;
pub(crate) mod meta;
pub(crate) mod replica;
pub(crate) mod store;
+pub(crate) mod sync;
#[cfg(test)]
mod tests {
@@ -53,17 +54,13 @@ mod tests {
}
}
- /// Automerge is used only in `document`, `remake` and the sync session
- /// (`state/session.rs`); the rest of the node names its types as `document`
- /// re-exports them and works through `document` (`architecture.md`, The document).
+ /// Automerge is used only in `document` and `remake`; the rest of the node names
+ /// its types as `document` re-exports them and works through `document`
+ /// (`architecture.md`, The document).
#[test]
fn automerge_stays_behind_document() {
let src = Path::new(env!("CARGO_MANIFEST_DIR")).join("src");
- let allowed = [
- src.join("document"),
- src.join("remake"),
- src.join("state").join("session.rs"),
- ];
+ let allowed = [src.join("document"), src.join("remake")];
let mut files = Vec::new();
sources(&src, &mut files);
let mut found = Vec::new();