From 75cc87154b4328758a7d4d6ad76ea2645636530d Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 03:54:45 +0100 Subject: move ChangeSet from swarm to document --- src/api/dashboard/mod.rs | 2 +- src/api/store.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/api') 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>, + changes: &mut broadcast::Receiver>, ) -> Option { 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 { -- cgit v1.3.1