fix: 修复实例导入与日志路径的 Rust 类型问题
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
实例导入时先保存相对路径,再移动完整路径,避免借用与移动冲突。 日志帧处理时将通用路径参数转换为 Path 引用,匹配处理函数的参数类型。 忽略本地 .tmp 目录中的下载包、第三方仓库和验证日志。
This commit is contained in:
1 parent
e4fa234df1
commit
c2bc7c2441
3 files changed
+4
-2
No files matched your search
@@ -1215,7 +1215,8 @@ async fn collect_version_files(
|
||||
continue;
|
||||
}
|
||||
if let Ok(rel) = abs_path.strip_prefix(version_dir) {
|
||||
collected.push((abs_path, rel.to_path_buf()));
|
||||
let rel = rel.to_path_buf();
|
||||
collected.push((abs_path, rel));
|
||||
}
|
||||
}
|
||||
Ok(collected)
|
||||
|
||||
Reference in new issue
Block a user