Skip to main content

get_file

Function get_file 

Source
pub async fn get_file(
    cid_str: String,
    output: Option<String>,
    timeout_secs: u64,
) -> Result<()>
Expand description

Get file from IPFRS and save to disk.

timeout_secs bounds the entire block-fetch operation. A value of 0 disables the timeout (waits indefinitely).