itest

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CarBytesLinkSystem

func CarBytesLinkSystem(t *testing.T, carReader io.ReaderAt) ipld.LinkSystem

CarBytesLinkSystem returns a LinkSystem based on a CAR body, it is a simple utility wrapper around the go-car storage Readable that is UnixFS aware.

func CarToDirEntry

func CarToDirEntry(t *testing.T, carReader io.ReaderAt, root cid.Cid, expectFull bool) unixfs.DirEntry

CarToDirEntry is ToDirEntry but around a CAR body as the source of data.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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