Wrapping up bedrock implementation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use std::sync::Arc;
|
||||
use galaxyui::r#async::BoxFuture;
|
||||
use std::sync::Arc;
|
||||
type GetAuthTokenFn = dyn Fn() -> BoxFuture<'static, Option<String>> + Send + Sync;
|
||||
type RemoteServerIdentityKeyFn = dyn Fn() -> String + Send + Sync;
|
||||
|
||||
|
||||
@@ -15,10 +15,10 @@ use crate::setup::RemoteServerSetupState;
|
||||
use crate::transport::Connection;
|
||||
use crate::transport::RemoteTransport;
|
||||
use crate::HostId;
|
||||
use repo_metadata::RepoMetadataUpdate;
|
||||
use serde::Serialize;
|
||||
use galaxy_core::SessionId;
|
||||
use galaxyui::{Entity, ModelContext, ModelSpawner, SingletonEntity};
|
||||
use repo_metadata::RepoMetadataUpdate;
|
||||
use serde::Serialize;
|
||||
|
||||
/// Maximum number of reconnection attempts after a spontaneous disconnect.
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
//! The Rust types in `repo_metadata::file_tree_update` were designed to mirror the
|
||||
//! proto schema 1:1, so these conversions are straightforward field mappings.
|
||||
|
||||
use galaxy_util::standardized_path::StandardizedPath;
|
||||
use repo_metadata::file_tree_store::{FileTreeEntry, FileTreeEntryState};
|
||||
use repo_metadata::file_tree_update::{
|
||||
DirectoryNodeMetadata, FileNodeMetadata, FileTreeEntryUpdate, RepoMetadataUpdate,
|
||||
RepoNodeMetadata,
|
||||
};
|
||||
use galaxy_util::standardized_path::StandardizedPath;
|
||||
|
||||
use crate::proto;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user