MCPcopy Create free account
hub / github.com/GCWing/BitFun / remote_close_workspace

Function remote_close_workspace

src/apps/desktop/src/api/ssh_api.rs:452–456  ·  view source on GitHub ↗
(state: State<'_, AppState>)

Source from the content-addressed store, hash-verified

450
451#[tauri::command]
452pub async fn remote_close_workspace(state: State<'_, AppState>) -> Result<(), String> {
453 state.clear_remote_workspace().await;
454 log::info!("Closed remote workspace");
455 Ok(())
456}
457
458#[tauri::command]
459pub async fn remote_remove_workspace(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected