Documentation
¶
Overview ¶
Package ipfsadd is a simplified copy of go-ipfs/core/coreunix/add.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adder ¶
type Adder struct {
Out chan *api.AddedOutput
Progress bool
Hidden bool
Trickle bool
RawLeaves bool
Silent bool
Wrap bool
NoCopy bool
Chunker string
Prefix *cid.Prefix
CidBuilder cid.Builder
// contains filtered or unexported fields
}
Adder holds the switches passed to the `add` command.
func (*Adder) SetMfsRoot ¶
SetMfsRoot sets `r` as the root for Adder.
Click to show internal directories.
Click to hide internal directories.