fixtures

package
v0.0.0-...-52b944a Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Unixfs20mVarietyRoot = cid.MustParse("bafybeifrrglx2issn2had5rtstn3xltla6vxmpjfwfz7o3hapvkynh4zoq")

Functions

func Unixfs20mVarietyReadableStorage

func Unixfs20mVarietyReadableStorage() (storage.ReadableStorage, io.Closer, error)

Types

type TestCase

type TestCase struct {
	Name         string
	Root         cid.Cid
	Path         string
	Scope        string
	Duplicates   bool
	ByteRange    string
	ExpectedCids []cid.Cid
}

func ParseCase

func ParseCase(name, spec, exec string) (TestCase, error)

func Unixfs20mVarietyCases

func Unixfs20mVarietyCases() ([]TestCase, error)

func (TestCase) AsQuery

func (tc TestCase) AsQuery() string

Jump to

Keyboard shortcuts

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