Hi,
so I was looking at the examples in the ipfs_unixfs subcrate and am wondering why the examples are not actually using ipfs... because I try to use them (the "add" example) as a blueprint for my "add" implementation for an app I am writing. I found that the blocks were not added to IPFS, so I assumed one just has to use the FileAdder and add the returned blocks to IPFS with Ipfs::put_block(), but it seems that this does not really work. The resulting IPFS entry is empty.
Maybe someone can help me there?
:-) And sorry for asking so many questions here!
Hi,
so I was looking at the examples in the ipfs_unixfs subcrate and am wondering why the examples are not actually using ipfs... because I try to use them (the "add" example) as a blueprint for my "add" implementation for an app I am writing. I found that the blocks were not added to IPFS, so I assumed one just has to use the
FileAdderand add the returned blocks to IPFS withIpfs::put_block(), but it seems that this does not really work. The resulting IPFS entry is empty.Maybe someone can help me there?
:-) And sorry for asking so many questions here!