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

Method fetch_object

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

fetch_objectFunction · 0.85

Tested by

no test coverage detected