(
state: State<'_, AppState>,
connection_id: String,
command: String,
)
| 379 | |
| 380 | #[tauri::command] |
| 381 | pub async fn remote_execute( |
| 382 | state: State<'_, AppState>, |
| 383 | connection_id: String, |
| 384 | command: String, |
| 385 | ) -> Result<(String, String, i32), String> { |
| 386 | let manager = state.get_ssh_manager_async().await?; |
| 387 | manager |
| 388 | .execute_command(&connection_id, &command) |
| 389 | .await |
| 390 | .map_err(|e| e.to_string()) |
| 391 | } |
| 392 | |
| 393 | // === Remote Workspace Management === |
| 394 |
nothing calls this directly
no test coverage detected