Translate Chinese comments

This commit is contained in:
Jackson Coxson
2025-08-13 08:03:03 -06:00
parent 114397ee1c
commit 3b22bf24c6

View File

@@ -715,7 +715,7 @@ impl MobileBackup2Client {
None => target_udid.ok_or(IdeviceError::InvalidHostID)?,
};
// 简单存在性校验:backup_root/source 必须存在
// Simple existence check: backup_root/source must exist
let backup_dir = backup_root.join(source);
if !backup_dir.exists() {
return Err(IdeviceError::NotFound);
@@ -730,7 +730,8 @@ impl MobileBackup2Client {
)
.await?;
// 进入 DeviceLink 文件交换循环,根目录传入 backup_root协议请求包含 source 前缀)
// Enter the DeviceLink file exchange loop, and pass the root directory to backup_root
// (the protocol request contains the source prefix)
let _ = self.process_restore_dl_loop(backup_root).await?;
Ok(())
}