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

Method upload_compressed_object

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

upload_compressed_objectFunction · 0.85

Tested by

no test coverage detected