From 72472131a4bb3798759884da597cfb4ef7793782 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 25 Oct 2026 19:59:14 +0100 Subject: allow to persist document --- src/state.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index 15652ab..ce47673 100644 --- a/src/state.rs +++ b/src/state.rs @@ -604,6 +604,8 @@ pub(crate) struct AppState { pub(crate) protocol_writers: Arc>, /// This node's own files, and how much it read and wrote them. pub(crate) files: Arc, + /// This node's document on disk (`--document-file`), if configured. + pub(crate) document_file: Option>, /// What this node remembers across restarts (`--state-file`), if configured. pub(crate) state_file: Option>, /// The effective configuration with sources, imported values left out -- cgit v1.3.1