MCPcopy Create free account
hub / github.com/BitVM/BitVM / fetch_object

Method fetch_object

bridge/src/client/data_store/ftp/ftps.rs:64–70  ·  view source on GitHub ↗
(
        &self,
        file_name: &str,
        file_path: Option<&str>,
    )

Source from the content-addressed store, hash-verified

62 }
63
64 async fn fetch_object(
65 &self,
66 file_name: &str,
67 file_path: Option<&str>,
68 ) -> Result<String, String> {
69 lib::fetch_object(&self.credentials, file_name, file_path).await
70 }
71
72 async fn upload_object(
73 &self,

Callers

nothing calls this directly

Calls 1

fetch_objectFunction · 0.85

Tested by

no test coverage detected