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

Method get_ssh_manager_async

src/apps/desktop/src/api/app_state.rs:366–372  ·  view source on GitHub ↗

Get SSH connection manager synchronously (must be called within async context)

(&self)

Source from the content-addressed store, hash-verified

364
365 /// Get SSH connection manager synchronously (must be called within async context)
366 pub async fn get_ssh_manager_async(&self) -> Result<SSHConnectionManager, SSHServiceError> {
367 self.ssh_manager
368 .read()
369 .await
370 .clone()
371 .ok_or(SSHServiceError::ManagerNotInitialized)
372 }
373
374 /// Get remote file service synchronously (must be called within async context)
375 pub async fn get_remote_file_service_async(

Calls 2

cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected