iface

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreAPI

type CoreAPI interface {
	PrivateFS() PrivateFS

	PublicFS() PublicFS
}

type PrivateFS

type PrivateFS interface {
	Add(context.Context, files.Node, ...options.UnixfsAddOption) (path.Resolved, error)

	Get(context.Context, path.Path) (files.Node, error)

	Ls(ctx context.Context, p path.Path, opts ...options.UnixfsLsOption) (<-chan iface.DirEntry, error)
}

type PublicFS

type PublicFS interface {
	Add(context.Context, files.Node, ...options.UnixfsAddOption) (path.Resolved, error)

	Get(context.Context, path.Path) (files.Node, error)

	Ls(ctx context.Context, p path.Path, opts ...options.UnixfsLsOption) (<-chan iface.DirEntry, error)
}

Jump to

Keyboard shortcuts

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