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

Method get_remote_file_service_async

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

Get remote file service synchronously (must be called within async context)

(
        &self,
    )

Source from the content-addressed store, hash-verified

373
374 /// Get remote file service synchronously (must be called within async context)
375 pub async fn get_remote_file_service_async(
376 &self,
377 ) -> Result<RemoteFileService, SSHServiceError> {
378 self.remote_file_service
379 .read()
380 .await
381 .clone()
382 .ok_or(SSHServiceError::FileServiceNotInitialized)
383 }
384
385 /// Get remote terminal manager synchronously (must be called within async context)
386 pub async fn get_remote_terminal_manager_async(

Calls 2

cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected