Documentation
¶
Overview ¶
package unixfs/io implements convenience objects for working with the ipfs unixfs data format.
Index ¶
- Variables
- func NewBufDagReader(b []byte) *bufDagReader
- func NewDirectory(dserv mdag.DAGService) *directoryBuilder
- func NewEmptyDirectory() *mdag.ProtoNode
- func NewPBFileReader(ctx context.Context, n *mdag.ProtoNode, pb *ftpb.Data, serv mdag.DAGService) *pbDagReader
- func ResolveUnixfsOnce(ctx context.Context, ds dag.DAGService, nd node.Node, name string) (*node.Link, error)
- type DagReader
- type ReadSeekCloser
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewDirectory ¶
func NewDirectory(dserv mdag.DAGService) *directoryBuilder
NewDirectory returns a directoryBuilder. It needs a DAGService to add the Children
func NewEmptyDirectory ¶ added in v0.3.4
NewEmptyDirectory returns an empty merkledag Node with a folder Data chunk
func NewPBFileReader ¶ added in v0.4.5
Types ¶
Source Files
¶
- bufdagreader.go
- dagreader.go
- dirbuilder.go
- doc.go
- pbdagreader.go
- resolve.go
Click to show internal directories.
Click to hide internal directories.