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

Function ssh_delete_connection

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

Source from the content-addressed store, hash-verified

64
65#[tauri::command]
66pub 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]
78pub async fn ssh_has_stored_password(

Callers

nothing calls this directly

Calls 2

get_ssh_manager_asyncMethod · 0.80

Tested by

no test coverage detected