convert

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: BSD-2-Clause Imports: 21 Imported by: 0

Documentation

Overview

Package convert generates filecoin package car.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToCAR

func ConvertToCAR(ctx context.Context, in io.Reader, out io.Writer) (cid.Cid, uint64, error)

ConvertToCAR reads input to memory, then write out in car format.

func FileConvertToCAR

func FileConvertToCAR(ctx context.Context, inPath, outPath string) (cid.Cid, uint64, error)

FileConvertToCAR converts an input file to a car format output file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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