Versions in this module Expand all Collapse all v0 v0.6.0 May 4, 2021 v0.5.0 Jun 29, 2020 v0.4.2 Jun 29, 2020 Changes in this version + func Add(n *core.IpfsNode, r io.Reader) (string, error) + func AddMetadataTo(n *core.IpfsNode, skey string, m *ft.Metadata) (string, error) + func AddR(n *core.IpfsNode, root string) (key string, err error) + func AddWithContext(ctx context.Context, n *core.IpfsNode, r io.Reader) (string, error) + func AddWrapped(n *core.IpfsNode, r io.Reader, filename string) (string, ipld.Node, error) + func Metadata(n *core.IpfsNode, skey string) (*ft.Metadata, error) + type AddEvent struct + Bytes int64 + Hash string + Name string + Size string + type Adder struct + Chunker string + CidBuilder cid.Builder + Hidden bool + Name string + NoCopy bool + Out chan<- interface{} + Pin bool + Progress bool + RawLeaves bool + Silent bool + Trickle bool + Wrap bool + func NewAdder(ctx context.Context, p pin.Pinner, bs bstore.GCBlockstore, ds ipld.DAGService) (*Adder, error) + func (adder *Adder) AddAllAndPin(file files.File) (ipld.Node, error) + func (adder *Adder) AddFile(file files.File) error + func (adder *Adder) Finalize() (ipld.Node, error) + func (adder *Adder) PinRoot() error + func (adder *Adder) RootNode() (ipld.Node, error) + func (adder *Adder) SetMfsRoot(r *mfs.Root) + type Link struct + Hash string + Name string + Size uint64 + type Object struct + Hash string + Links []Link + Size string