testutils

package
v1.27.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: Apache-2.0, MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAggregateFromCars added in v1.27.2

func CreateAggregateFromCars(files []string, dealSize abi.PaddedPieceSize, aggregateOut bool) (cid.Cid, error)

func CreateDenseCARWith

func CreateDenseCARWith(dir, src string, chunksize int64, maxlinks int, caropts []carv2.Option) (cid.Cid, string, error)

func CreateRandomTmpFile added in v1.27.2

func CreateRandomTmpFile(dir string, size int64) (string, error)

func EnvElse added in v1.27.2

func EnvElse(env, els string) string

func WriteUnixfsDAGTo

func WriteUnixfsDAGTo(path string, into ipldformat.DAGService, chunksize int64, maxlinks int) (cid.Cid, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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