Skip to main content

cat_file

Function cat_file 

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

Output file contents to stdout.

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