Function noosphere_cli::native::commands::sync::sync_remote_changes
source · pub async fn sync_remote_changes<'a, K, S>(
local_sphere_identity: &str,
client: &Client<'a, K, SphereDb<S>>,
credential: &'a K,
authorization: Option<&Authorization>,
db: &mut SphereDb<S>
) -> Result<()>where
K: KeyMaterial,
S: Store,Expand description
Fetches the latest changes from a gateway and updates the local lineage using a conflict-free rebase strategy