We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a44517c commit f676e72Copy full SHA for f676e72
1 file changed
src/tabs/clear_tab.rs
@@ -626,8 +626,14 @@ impl ClearTabState {
626
// 发送完成状态消息
627
if let Some(tx) = temp_tx {
628
// 发送状态更新
629
- let _ = tx.send(("__STATUS__Temp目录清理完成".to_string(), 0));
630
-
+ let status_message = format!(
+ "Temp目录清理完成: 已清理 {} 个文件,总计 {},跳过 {} 个文件",
631
+ deleted_files,
632
+ crate::utils::format_size(total_cleaned_size),
633
+ skipped_files
634
+ );
635
+ let _ = tx.send((format!("__STATUS__{}", status_message), 0));
636
+
637
// 发送完成标志
638
let _ = tx.send(("__TEMP_CLEANUP_COMPLETE__".to_string(), 0));
639
}
0 commit comments