Module rust_unixfs::walk
source · Expand description
Support for walking over all UnixFs trees
Structs
- A slice of bytes of a possibly multi-block file. The slice can be accessed via
as_bytes()
orAsRef<[u8]>::as_ref()
. Walker
helps with walking a UnixFS tree, including all of the content and files. It is created withWalker::new
and walked over each block withWalker::continue_block
. UseWalker::pending_links
to obtain the next [Cid
] to be loaded and the prefetchable links.
Enums
- Representation of the walk progress.
- Errors which can occur while walking a tree.