Function rust_ipfs::unixfs::add_file

source ·
pub async fn add_file<'a, P: AsRef<Path>>(
    ipfs: &Ipfs,
    path: P,
    opt: Option<AddOption>
) -> Result<BoxStream<'a, UnixfsStatus>>