fix: 修复跨实例同步移植的首轮编译错误
Sync source to CNB / Sync Git ref (push) Has been cancelled

- re-export 可见性:synced_options_path 改从 files 导入;SyncedOptionJoinResolution 改从 pending 导入

- bind 移动语义:18 处 .bind(x) 改为 .bind(&x)(metadata.instance.id / option_id / custom_id 等)

- storage.rs:SqliteRow 字段访问改为 row.get()

- modpack.rs:去掉 Axolotl 独有的 DownloadMeta/DownloadReason,改用本地 5 参数 fetch

- state/mod.rs:补齐第 2 处 State 初始化的新增字段
This commit is contained in:
AxTps committed 2026-10-04 08:13:40 +08:00
1 parent fae16a0184
commit b7c16594ce
10 files changed
+42 -40

No files matched your search

@@ -19,8 +19,8 @@ pub(super) use self::files::{
pub(super) use self::orchestration::instance_option_supported;
pub use self::orchestration::{
GlobalSyncedOptions, SyncedOptionCapability, SyncedOptionJoinAction,
SyncedOptionJoinPreview, SyncedOptionJoinResolution, SyncedOptionsOverview,
get_capabilities, get_global_options, get_initialized_options,
SyncedOptionJoinPreview, SyncedOptionsOverview, get_capabilities,
get_global_options, get_initialized_options,
get_instance_option_join_preview, get_overview, get_synced_options_folder,
reconcile_all, reconcile_changed_file, reconcile_instance,
set_global_option, set_instance_option,
@@ -30,3 +30,4 @@ pub(crate) use self::orchestration::{
reconcile_instance_after_pack_update_with_state,
remove_generated_instance_files,
};
pub use self::pending::SyncedOptionJoinResolution;