diff options
| author | tv <tv@krebsco.de> | 2026-10-31 03:54:45 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 03:54:45 +0100 |
| commit | 75cc87154b4328758a7d4d6ad76ea2645636530d (patch) | |
| tree | 6f010c9e7c768aa8d22e2c5934384ebe364b6194 /src/api | |
| parent | 4d09dcfcd7432ab303f848342d2f762b57b7c693 (diff) | |
move ChangeSet from swarm to document
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/dashboard/mod.rs | 2 | ||||
| -rw-r--r-- | src/api/store.rs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/api/dashboard/mod.rs b/src/api/dashboard/mod.rs index 0a502a3..86f349a 100644 --- a/src/api/dashboard/mod.rs +++ b/src/api/dashboard/mod.rs @@ -200,7 +200,7 @@ const MAX_CHANGED: usize = 256; /// Where the document changed since last asked (`Hub::documents`), if anywhere. fn document_changes( - changes: &mut broadcast::Receiver<Arc<crate::swarm::sync::ChangeSet>>, + changes: &mut broadcast::Receiver<Arc<crate::document::store::ChangeSet>>, ) -> Option<JsonValue> { let mut paths = BTreeSet::new(); let mut all = false; diff --git a/src/api/store.rs b/src/api/store.rs index 9c8cafd..0b0a40f 100644 --- a/src/api/store.rs +++ b/src/api/store.rs @@ -20,9 +20,8 @@ use tracing::{debug, error, instrument}; use super::auth::AuthenticatedUser; use super::{parse_key_path, parse_write_path, response_for_value, store_status}; -use crate::document::store::{self, StoreError}; +use crate::document::store::{self, StoreError, paths_related}; use crate::state::{AppState, ReadSource}; -use crate::swarm::sync::paths_related; #[derive(Debug, Default, Deserialize)] pub(crate) struct ReadQuery { |
