local

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 10 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 repos.FS) *Repo

func (*Repo) Close

func (r *Repo) Close() error

func (*Repo) Download

func (r *Repo) Download(ctx context.Context, toCh chan<- *repos.File, paths ...string) error

func (*Repo) Upload

func (r *Repo) Upload(ctx context.Context, fromCh <-chan *repos.File) 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