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.
ShardedLookup can 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_walk but in addition to sharded cases, there can be unexpected directories.
Shard does not fit into expectations.

Functions

Resolves a single path segment on dag-pb or UnixFS directories (normal, sharded).