主要合入内容:
- 文件管理器分页加载、排序偏好、桌面表头排序、移动端排序菜单、Ctrl/Cmd+F搜索、Esc 关闭搜索、鼠标右滑返回上级。 - 移动端同步状态页、同步统计卡片、同步任务/累计统计事件、同步页布局更新。 - Android 相册同步默认路径改为 DCIM/Camera,下载路径改用 external_path。 - Rust sync-core 更新:Android 日志依赖、AlbumUpload/AlbumDownload、MirrorWcf 统计修复、Linux FUSE镜像挂载与读写同步支持。 - 依赖更新:external_path、fl_chart、pdfrx 升级,并修了 pdfrx 新版本的deprecated API。 - 新增文件包括:sort_options.dart、sync_page_android.dart、sync_stats_card.dart、platform/fuse.rs、sync_engine/fuse.rs。
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,16 +1,16 @@
|
||||
/// 平台适配器 trait — 各平台(Windows WCF / Linux / Android)实现此接口
|
||||
#[cfg(feature = "windows-cfapi")]
|
||||
use async_trait::async_trait;
|
||||
#[cfg(feature = "windows-cfapi")]
|
||||
#[cfg(any(feature = "windows-cfapi", feature = "linux-fuse"))]
|
||||
use crate::errors::Result;
|
||||
#[cfg(feature = "windows-cfapi")]
|
||||
#[cfg(any(feature = "windows-cfapi", feature = "linux-fuse"))]
|
||||
use crate::models::{LocalFileEvent, RemoteFileEntry};
|
||||
#[cfg(feature = "windows-cfapi")]
|
||||
/// 平台适配器 trait — 各平台(Windows WCF / Linux FUSE / Android)实现此接口
|
||||
#[cfg(any(feature = "windows-cfapi", feature = "linux-fuse"))]
|
||||
use async_trait::async_trait;
|
||||
#[cfg(any(feature = "windows-cfapi", feature = "linux-fuse"))]
|
||||
use std::path::Path;
|
||||
#[cfg(feature = "windows-cfapi")]
|
||||
#[cfg(any(feature = "windows-cfapi", feature = "linux-fuse"))]
|
||||
use tokio::sync::mpsc;
|
||||
|
||||
#[cfg(feature = "windows-cfapi")]
|
||||
#[cfg(any(feature = "windows-cfapi", feature = "linux-fuse"))]
|
||||
#[async_trait]
|
||||
pub trait PlatformAdapter: Send + Sync {
|
||||
/// 初始同步后的平台初始化
|
||||
@@ -34,3 +34,6 @@ pub trait PlatformAdapter: Send + Sync {
|
||||
|
||||
#[cfg(feature = "windows-cfapi")]
|
||||
pub mod wcf;
|
||||
|
||||
#[cfg(feature = "linux-fuse")]
|
||||
pub mod fuse;
|
||||
|
||||
Reference in New Issue
Block a user