Documentation
¶
Overview ¶
A car exporter based on go-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
Click to show internal directories.
Click to hide internal directories.