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

Method upload_object

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

Source from the content-addressed store, hash-verified

70 }
71
72 async fn upload_object(
73 &self,
74 file_name: &str,
75 contents: &str,
76 file_path: Option<&str>,
77 ) -> Result<usize, String> {
78 lib::upload_object(&self.credentials, file_name, contents, file_path).await
79 }
80
81 async fn fetch_compressed_object(
82 &self,

Callers

nothing calls this directly

Calls 1

upload_objectFunction · 0.85

Tested by

no test coverage detected