package
Version:
v0.4.19
Opens a new window with list of versions in this module.
Published: Mar 1, 2019
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ExportTar(ctx context.Context, root *dag.ProtoNode, ds ipld.DAGService) (io.Reader, error)
ExportTar exports the passed DAG as a tar file. This function is the inverse
of ImportTar.
func ImportTar(ctx context.Context, r io.Reader, ds ipld.DAGService) (*dag.ProtoNode, error)
ImportTar imports a tar file into the given DAGService and returns the root
node.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.