adapter

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0, MIT Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFile

func NewFile(name string, node files.Node) (fs.File, error)

NewFile creates an fs.File that is backed by an IPFS files.Node.

func NewFs

func NewFs(root cid.Cid, bsvc blockservice.BlockService) (fs.FS, error)

func NewFsWithContext

func NewFsWithContext(ctx context.Context, root cid.Cid, bsvc blockservice.BlockService) (fs.FS, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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