Documentation
¶
Index ¶
- type Repo
- func (c *Repo) Close() (err error)
- func (c *Repo) Download(ctx context.Context, path string) (*repos.File, error)
- func (r *Repo) Lstat(name string) (fs.FileInfo, error)
- func (r *Repo) MkdirAll(name string, perm fs.FileMode) error
- func (r *Repo) Open(name string) (fs.File, error)
- func (r *Repo) OpenFile(name string, flag int, perm fs.FileMode) (virt.RWFile, error)
- func (r *Repo) ReadDir(name string) ([]fs.DirEntry, error)
- func (r *Repo) Readlink(name string) (string, error)
- func (r *Repo) RemoveAll(name string) error
- func (r *Repo) Stat(name string) (fs.FileInfo, error)
- func (c *Repo) Upload(ctx context.Context, from *repos.File) error
- func (r *Repo) WriteFile(name string, data []byte, mode fs.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶ added in v0.0.9
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) Download ¶ added in v0.0.9
TODO: this implementation conceptually differs from the local repo implementation
func (*Repo) RemoveAll ¶ added in v0.0.9
RemoveAll removes a path and anything it contains. Like os.RemoveAll, a missing path is not an error.
Click to show internal directories.
Click to hide internal directories.