From bdd26fbca2b3c45de73f96debf8f21113c93b9b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=95=E6=9F=8F=E9=9D=92?= Date: Sun, 7 Jun 2026 13:42:29 +0800 Subject: [PATCH] =?UTF-8?q?docs(commands):=20=E4=BF=AE=E6=AD=A3=20mod.rs?= =?UTF-8?q?=20=E8=BF=87=E6=97=B6=E5=91=BD=E4=BB=A4=E8=AE=A1=E6=95=B0?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=EF=BC=8889=E2=86=92127=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openless-all/app/src-tauri/src/commands/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openless-all/app/src-tauri/src/commands/mod.rs b/openless-all/app/src-tauri/src/commands/mod.rs index 46ee988f..ad003964 100644 --- a/openless-all/app/src-tauri/src/commands/mod.rs +++ b/openless-all/app/src-tauri/src/commands/mod.rs @@ -1,7 +1,7 @@ #![cfg_attr(target_os = "linux", allow(dead_code, unused_variables))] //! Tauri command surface — every IPC entry the React UI invokes lives here. //! -//! issue: 历史上整个 IPC 表(89 个 `#[tauri::command]` + 跨域 helper)挤在单个 +//! issue: 历史上整个 IPC 表(127 个 `#[tauri::command]` + 跨域 helper)挤在单个 //! 4800 行的 `commands.rs` 里。按单一职责拆成 `commands/` 下的域模块(settings / //! credentials / providers / history / …),每个文件聚焦一个领域。对外路径保持不变: //! 本模块用 `pub use ::*` glob 重导出每个子模块,`commands::` 仍然解析,