importer

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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, which are generalistic DAGs in which all leaves (nodes representing chunks of data) are at the same distance from the root.
Package balanced provides methods to build balanced DAGs, which are generalistic DAGs in which all leaves (nodes representing chunks of data) are at the same distance from the root.
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