[][src]Module ipfs::unixfs

Adaptation for ipfs-unixfs crate functionality on top of crate::Ipfs.

Adding files and directory structures is supported but not exposed via an API. See examples and ipfs-http.


pub use ipfs_unixfs as ll;



The starting point for unixfs walks. Can be converted from IpfsPath and Blocks, and Cids can be converted to IpfsPath.


Types of failures which can occur while walking the UnixFS graph.



IPFS cat operation, producing a stream of file bytes. This is generic over the different kinds of ways to own an Ipfs value in order to support both operating with borrowed Ipfs value and an owned value. Passing an owned value allows the return value to be 'static, which can be helpful in some contexts, like the http.