Versions in this module Expand all Collapse all v1 v1.54.4 Nov 23, 2020 Changes in this version + var ErrUsageFieldNotSupported = errors.New("this usage field is not supported") + type Directory struct + func (e *Directory) UpstreamFs() *Fs + type Entry interface + UpstreamFs func() *Fs + type Fs struct + RootFs fs.Fs + RootPath string + func New(remote, root string, cacheTime time.Duration) (*Fs, error) + func (f *Fs) About(ctx context.Context) (*fs.Usage, error) + func (f *Fs) GetFreeSpace() (int64, error) + func (f *Fs) GetNumObjects() (int64, error) + func (f *Fs) GetUsedSpace() (int64, error) + func (f *Fs) IsCreatable() bool + func (f *Fs) IsWritable() bool + func (f *Fs) Put(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.Object, error) + func (f *Fs) PutStream(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.Object, error) + func (f *Fs) WrapDirectory(e fs.Directory) *Directory + func (f *Fs) WrapEntry(e fs.DirEntry) (Entry, error) + func (f *Fs) WrapObject(o fs.Object) *Object + type Object struct + func (o *Object) UnWrap() fs.Object + func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) error + func (o *Object) UpstreamFs() *Fs