importer

package
Version: v0.0.0-...-ce94876 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2019 License: MIT, 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.

Source Files

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL