importer

package
v0.4.15-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 License: MIT Imports: 5 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 BuildDagFromReader

func BuildDagFromReader(ds ipld.DAGService, spl chunker.Splitter) (ipld.Node, error)

BuildDagFromReader creates a DAG given a DAGService and a Splitter implementation (Splitters are io.Readers), using a Balanced layout.

func BuildTrickleDagFromReader

func BuildTrickleDagFromReader(ds ipld.DAGService, spl chunker.Splitter) (ipld.Node, error)

BuildTrickleDagFromReader creates a DAG given a DAGService and a Splitter implementation (Splitters are io.Readers), using a Trickle Layout.

Types

This section is empty.

Directories

Path Synopsis
Package balanced provides methods to build balanced DAGs.
Package balanced provides methods to build balanced DAGs.
Package trickle allows to build trickle DAGs.
Package trickle allows to build trickle DAGs.

Jump to

Keyboard shortcuts

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