local

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo struct {
	// contains filtered or unexported fields
}

func New

func New(fsys virt.FS) *Repo

func (*Repo) Close

func (r *Repo) Close() error

func (*Repo) Download

func (r *Repo) Download(ctx context.Context, to virt.FS, paths ...string) error

func (*Repo) Upload

func (r *Repo) Upload(ctx context.Context, from fs.FS) error

func (*Repo) Walk

func (r *Repo) Walk(ctx context.Context, dir string, fn fs.WalkDirFunc) error

Jump to

Keyboard shortcuts

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