Documentation ¶ Index ¶ type Repo func New(fsys repos.FS) *Repo func (r *Repo) Close() error func (r *Repo) Download(ctx context.Context, toCh chan<- *repos.File, paths ...string) error func (r *Repo) Upload(ctx context.Context, fromCh <-chan *repos.File) error func (r *Repo) Walk(ctx context.Context, dir string, fn fs.WalkDirFunc) error 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 Source Files ¶ View all Source files local.go Click to show internal directories. Click to hide internal directories.