# Packages
Package adderutils provides some utilities for adding content to cluster.
Package ipfsadd is a simplified copy of go-ipfs/core/coreunix/add.go.
Package sharding implements a sharding ClusterDAGService places content in different shards while it's being added, creating a final Cluster DAG and pinning it.
Package single implements a ClusterDAGService that chunks and adds content to cluster without sharding, before pinning it.
# Functions
BlockAllocate helps allocating blocks to peers.
New returns a new Adder with the given ClusterDAGService, add options and a channel to send updates during the adding process.
NewBlockAdder creates a BlockAdder given an rpc client and allocated peers.
Pin helps sending local RPC pin requests.
# Variables
ErrBlockAdder is returned when adding a to multiple destinations block fails on all of them.
ErrDAGNotFound is returned whenever we try to get a block from the DAGService.
# Structs
Adder is used to add content to IPFS Cluster using an implementation of ClusterDAGService.
BaseDAGService partially implements an ipld.DAGService.
BlockAdder implements "github.com/ipfs/go-ipld-format".NodeAdder.
# Interfaces
ClusterDAGService is an implementation of ipld.DAGService plus a Finalize method.