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