car

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

A car exporter based on boxo/ipld/car module

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CarExporterAPI

type CarExporterAPI interface {
	Export(ctx context.Context, contentRoot cid.Cid, writer io.Writer) error

	// export car file to multiple destinations.
	// failure in one writer doesn't fail write attempts to other writers
	MultiExport(ctx context.Context, contentRoot cid.Cid, writers []io.Writer) error
}

func NewCarExporter

func NewCarExporter(api coreapi.CoreExtensionAPI) CarExporterAPI

Jump to

Keyboard shortcuts

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