Clear current remote pointer and remove its persisted/registry entry (legacy SSH "close").
(&self)
| 497 | |
| 498 | /// Clear current remote pointer and remove its persisted/registry entry (legacy SSH "close"). |
| 499 | pub async fn clear_remote_workspace(&self) { |
| 500 | let snap = { self.remote_workspace.read().await.clone() }; |
| 501 | if let Some(w) = snap { |
| 502 | self.unregister_remote_workspace_entry(&w.connection_id, &w.remote_path) |
| 503 | .await; |
| 504 | } |
| 505 | } |
| 506 | |
| 507 | /// Check if currently in a remote workspace |
| 508 | pub async fn is_remote_workspace(&self) -> bool { |
no test coverage detected