Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repo ¶
type Repo interface { // Upload from a filesystem to the repository Upload(ctx context.Context, fromCh <-chan *File) error // Download paths from the repository to a filesystem Download(ctx context.Context, toCh chan<- *File, paths ...string) error // Walk the repository Walk(ctx context.Context, dir string, fn fs.WalkDirFunc) error // Close the repository Close() error }
Repo is a repository interface for uploading and downloading files
Click to show internal directories.
Click to hide internal directories.