package
0.6.1
Repository: https://github.com/tron-us/go-unixfs.git
Documentation: pkg.go.dev

# Functions

GetMetaDataFromDagRoot returns the full metadata bytes if available.
NewDagReader creates a new reader object that reads the data represented by the given node, using the passed in DAGService for data retrieval.
NewDirectory returns a Directory.
NewDirectoryFromNode loads a unixfs directory from the given IPLD node and DAGService.
A ReedSolomonDagReader wraps M DagReaders and reads N (data) out of M (data + parity) concurrently to decode the original file shards for the returned DagReader to use.
No description provided by the author
NewReedSolomonDirectoryFromNode loads a ReedSolomon directory from the given DirNode and DAGService.
ResolveUnixfsOnce resolves a single hop of a path through a graph in a unixfs context.

# Constants

No description provided by the author
No description provided by the author
SmallestString is used for metadata name to be the smallest possible string value.
No description provided by the author

# Variables

DefaultShardWidth is the default value used for hamt sharding width.
Common errors.
Common errors.
ErrNotADir implies that the given node was not a unixfs directory.
Common errors.
Common errors.
UseHAMTSharding is a global flag that signifies whether or not to use the HAMT sharding scheme for directory creation.

# Structs

No description provided by the author
BasicDirectory is the basic implementation of `Directory`.
files.Directory is input directory.
No description provided by the author
HAMTDirectory is the HAMT implementation of `Directory`.
reedSolomonDagReader reads a dag by concurrently merging N shards in a N/M encoded UnixFS dag file.
ReedSolomonDirectory is the implementation of `Directory for Reed-Solomon BTFS file.
No description provided by the author

# Interfaces

A DagReader provides read-only read and seek acess to a unixfs file.
Directory defines a UnixFS directory.
No description provided by the author
A ReadSeekCloser implements interfaces to read, copy, seek and close.