fix(clipboard): build on Windows again after the command refactor (#4030)

#3598 moved blocking from src-tauri's commands::doc to ide_host::ops::doc,
but the Windows-only import in commands/clipboard.rs still named the old
path, so src-tauri no longer compiled on Windows. It now imports
ide_host::ops::doc::blocking like commands/db.rs and commands/perf.rs.

Co-authored-by: EjaYF <9842286+EjaYF@users.noreply.github.com>
This commit is contained in:
Ernstjan Freriks
2026-11-17 23:40:40 +08:00
committed by GitHub
co-authored by EjaYF
parent 318f4a2d82
commit 9cfe667b6a
+2 -2
View File
@@ -1,11 +1,11 @@
//! The OS clipboard's file list, so the project view and Explorer exchange files.
#[cfg(not(any(target_os = "macos", target_os = "linux")))]
use crate::commands::doc::blocking;
use ide_command::desktop_command;
#[cfg(any(target_os = "macos", target_os = "linux"))]
use ide_core::IdeError;
use ide_core::IdeResult;
#[cfg(not(any(target_os = "macos", target_os = "linux")))]
use ide_host::ops::doc::blocking;
use std::path::{Path, PathBuf};
use tauri::{AppHandle, WebviewWindow};