carlet

package module
v0.0.0-...-4f4b6bc Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 5

README

carlet

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitCar

func SplitCar(rdr io.Reader, targetSize int, namePrefix string) error

SplitCar splits a car file into smaller car files of the specified target size

Types

type CarFile

type CarFile struct {
	Name       string
	CommP      cid.Cid
	PaddedSize uint64
}

func SplitAndCommp

func SplitAndCommp(r io.Reader, targetSize int, namePrefix string) ([]CarFile, error)

SplitAndCommp splits a car file into smaller car files but also calculates commP at the same time.

Directories

Path Synopsis
cmd
carlet Module

Jump to

Keyboard shortcuts

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