Skip to content

Commit 877d925

Browse files
committed
rename get_ipfs_file to get_ipfs_file_cbor
Signed-off-by: bkioshn <bkioshn@gmail.com>
1 parent 315e79d commit 877d925

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/hermes-ipfs/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ impl HermesIpfs {
190190
Ok(ipfs_path)
191191
}
192192

193-
/// Get a file from IPFS
193+
/// Get a file from IPFS as CBOR encoded data.
194194
///
195195
/// ## Parameters
196196
///
@@ -203,7 +203,7 @@ impl HermesIpfs {
203203
/// ## Errors
204204
///
205205
/// Returns an error if the file fails to download.
206-
pub async fn get_ipfs_file(
206+
pub async fn get_ipfs_file_cbor(
207207
&self,
208208
cid: &Cid,
209209
) -> anyhow::Result<Vec<u8>> {

0 commit comments

Comments
 (0)