importer

package
v0.4.6-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

package importer implements utilities used to create IPFS DAGs from files and readers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDagFromFile

func BuildDagFromFile(fpath string, ds dag.DAGService) (node.Node, error)

Builds a DAG from the given file, writing created blocks to disk as they are created

func BuildDagFromReader

func BuildDagFromReader(ds dag.DAGService, spl chunk.Splitter) (node.Node, error)

func BuildTrickleDagFromReader

func BuildTrickleDagFromReader(ds dag.DAGService, spl chunk.Splitter) (node.Node, error)

Types

This section is empty.

Directories

Path Synopsis
package chunk implements streaming block splitters
package chunk implements streaming block splitters

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL