Module rust_unixfs::dir
source · Expand description
Directory and directory tree support
Modules§
- Directory tree builder.
Structs§
- A cache of data structures used while traversing. Reduces allocations when walking over multiple path segments.
ShardedLookupcan walk over multiple HAMT sharded directory nodes which allows multiple block spanning directories.
Enums§
- Errors which can occur when looking up a HAMTSharded directory.
- Resolving result type for the successful cases.
- Multiple matching links were found: at least two.
- Resolving can fail similarly as with
ShardedLookup::continue_walkbut in addition to sharded cases, there can be unexpected directories. - Shard does not fit into expectations.
Functions§
- Resolves a single path segment on
dag-pbor UnixFS directories (normal, sharded).