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

# Functions

ArrComp checks if two byte slices are the same.
No description provided by the author
No description provided by the author
GetDAGServ returns a mock DAGService.
GetEmptyNode returns an empty unixfs file node.
GetNode returns a unixfs file node with the specified data.
No description provided by the author
GetRandomNode returns a random unixfs file node.
GetReedSolomonShards gets the shards from the original file.
No description provided by the author
PrintDag pretty-prints the given dag to stdout.
RandomRemoveNodes randomly removes n sharded nodes from under the file root Can remove from 1-n nodes since rand can repeat index Returns shard root node, the list of removed hashes and indices in the original links.
No description provided by the author
SizeSplitterGen creates a generator.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Variables

Some shorthands for NodeOpts.
Some shorthands for NodeOpts.
Some shorthands for NodeOpts.
Some shorthands for NodeOpts.

# Structs

NodeOpts is used by GetNode, GetEmptyNode and GetRandomNode.