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

Method fetch_compressed_object

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

Source from the content-addressed store, hash-verified

79 }
80
81 async fn fetch_compressed_object(
82 &self,
83 file_name: &str,
84 file_path: Option<&str>,
85 ) -> Result<(Vec<u8>, usize), String> {
86 lib::fetch_compressed_object(&self.credentials, file_name, file_path).await
87 }
88
89 async fn upload_compressed_object(
90 &self,

Callers

nothing calls this directly

Calls 1

fetch_compressed_objectFunction · 0.85

Tested by

no test coverage detected