[][src]Module ipfs_unixfs::dir

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.

ShardedLookup

ShardedLookup can walk over multiple HAMT sharded directory nodes which allows multiple block spanning directories.

Enums

LookupError

Errors which can occur when looking up a HAMTSharded directory.

MaybeResolved

Resolving result type for the successful cases.

MultipleMatchingLinks

Multiple matching links were found: at least two.

ResolveError

Resolving can fail similarly as with ShardedLookup::continue_walk but in addition to sharded cases, there can be unexpected directories.

ShardError

Shard does not fit into expectations.

Functions

resolve

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