Module walk

Source
Expand description

Support for walking over all UnixFs trees

Structs§

FileSegment
A slice of bytes of a possibly multi-block file. The slice can be accessed via as_bytes() or AsRef<[u8]>::as_ref().
Walker
Walker helps with walking a UnixFS tree, including all of the content and files. It is created with Walker::new and walked over each block with Walker::continue_block. Use Walker::pending_links to obtain the next Cid to be loaded and the prefetchable links.

Enums§

ContinuedWalk
Representation of the walk progress.
Error
Errors which can occur while walking a tree.