Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSDagger ¶
type FSDagger struct { Morpher Morpher // contains filtered or unexported fields }
FSDagger is a test helper useful to build various UnixFS DAGs.
func NewFSDagger ¶
func (*FSDagger) NewDir ¶
func (d *FSDagger) NewDir(name string, es ...*FSDaggerNode) *FSDaggerNode
func (*FSDagger) Node ¶
func (d *FSDagger) Node(name string) *FSDaggerNode
func (*FSDagger) RandNode ¶
func (d *FSDagger) RandNode(name string) *FSDaggerNode
type FSDaggerNode ¶
type FSDaggerNode struct { Data []byte // contains filtered or unexported fields }
func (*FSDaggerNode) File ¶
func (de *FSDaggerNode) File() files.Node
func (*FSDaggerNode) IsDir ¶
func (de *FSDaggerNode) IsDir() bool
func (*FSDaggerNode) Validate ¶
func (de *FSDaggerNode) Validate()
Click to show internal directories.
Click to hide internal directories.