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

Method fetch_compressed_object

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

fetch_compressed_objectFunction · 0.85

Tested by

no test coverage detected