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

Method upload_compressed_object

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

Source from the content-addressed store, hash-verified

87 }
88
89 async fn upload_compressed_object(
90 &self,
91 file_name: &str,
92 contents: &Vec<u8>,
93 file_path: Option<&str>,
94 ) -> Result<usize, String> {
95 lib::upload_compressed_object(&self.credentials, file_name, contents, file_path).await
96 }
97}

Callers

nothing calls this directly

Calls 1

upload_compressed_objectFunction · 0.85

Tested by

no test coverage detected