(
state: State<'_, AppState>,
connection_id: String,
)
| 64 | |
| 65 | #[tauri::command] |
| 66 | pub async fn ssh_delete_connection( |
| 67 | state: State<'_, AppState>, |
| 68 | connection_id: String, |
| 69 | ) -> Result<(), String> { |
| 70 | let manager = state.get_ssh_manager_async().await?; |
| 71 | manager |
| 72 | .delete_saved_connection(&connection_id) |
| 73 | .await |
| 74 | .map_err(|e| e.to_string()) |
| 75 | } |
| 76 | |
| 77 | #[tauri::command] |
| 78 | pub async fn ssh_has_stored_password( |
nothing calls this directly
no test coverage detected