Function rust_ipfs::unixfs::add_file

source ·
pub fn add_file<'a, P: AsRef<Path>>(
    which: Either<&Ipfs, &Repo>,
    path: P,
    opt: Option<AddOption>
) -> UnixfsAdd<'a>