Enum unixfs_v1::walk::ContinuedWalk [−][src]
pub enum ContinuedWalk<'a> {
Bucket(&'a Cid, &'a Path),
Directory(&'a Cid, &'a Path, &'a Metadata),
File(FileSegment<'a>, &'a Cid, &'a Path, &'a Metadata, u64),
RootDirectory(&'a Cid, &'a Path, &'a Metadata),
Symlink(&'a [u8], &'a Cid, &'a Path, &'a Metadata),
}
Expand description
Representation of the walk progress.
Variants
Currently looking at a continuation of a HAMT sharded directory. Usually safe to ignore.
Tuple Fields of Bucket
0: &'a Cid
1: &'a Path
Currently looking at a directory.
Currently looking at a file. The first tuple value contains the file bytes accessible from the block, which can also be an empty slice.
Tuple Fields of File
Currently looking at a root directory.
Currently looking at a symlink. The first tuple value contains the symlink target path. It might be convertible to UTF-8, but this is not specified in the spec.