(
state: State<'_, AppState>,
connection_id: String,
remote_path: String,
)
| 457 | |
| 458 | #[tauri::command] |
| 459 | pub async fn remote_remove_workspace( |
| 460 | state: State<'_, AppState>, |
| 461 | connection_id: String, |
| 462 | remote_path: String, |
| 463 | ) -> Result<(), String> { |
| 464 | state |
| 465 | .unregister_remote_workspace_entry(&connection_id, &remote_path) |
| 466 | .await; |
| 467 | log::info!( |
| 468 | "Removed remote workspace restore entry: connection_id={}, remote_path={}", |
| 469 | connection_id, |
| 470 | remote_path |
| 471 | ); |
| 472 | Ok(()) |
| 473 | } |
| 474 | |
| 475 | #[tauri::command] |
| 476 | pub async fn remote_get_workspace_info( |
nothing calls this directly
no test coverage detected