Function rust_ipfs::unixfs::add_file

source ·
pub async fn add_file<'a, Types, MaybeOwned, P: AsRef<Path>>(
    ipfs: MaybeOwned,
    path: P,
    opt: Option<AddOption>
) -> Result<BoxStream<'a, UnixfsStatus>>where
    Types: IpfsTypes,
    MaybeOwned: Borrow<Ipfs<Types>> + Send + 'a,