Versions in this module Expand all Collapse all v1 v1.48.0 Jun 15, 2019 Changes in this version type Fs + func (f *Fs) Copy(src fs.Object, remote string) (fs.Object, error) v1.47.0 Apr 13, 2019 Changes in this version type Options + DownloadURL string v1.46.0 Feb 9, 2019 Changes in this version type Options + DisableCheckSum bool v1.43.1 Sep 7, 2018 Changes in this version + func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) + type Fs struct + func (f *Fs) CleanUp() error + func (f *Fs) Features() *fs.Features + func (f *Fs) Hashes() hash.Set + func (f *Fs) List(dir string) (entries fs.DirEntries, err error) + func (f *Fs) ListR(dir string, callback fs.ListRCallback) (err error) + func (f *Fs) Mkdir(dir string) error + func (f *Fs) Name() string + func (f *Fs) NewObject(remote string) (fs.Object, error) + func (f *Fs) Precision() time.Duration + func (f *Fs) Purge() error + func (f *Fs) Put(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.Object, error) + func (f *Fs) PutStream(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.Object, error) + func (f *Fs) Rmdir(dir string) error + func (f *Fs) Root() string + func (f *Fs) String() string + type Object struct + func (o *Object) Fs() fs.Info + func (o *Object) Hash(t hash.Type) (string, error) + func (o *Object) ID() string + func (o *Object) MimeType() string + func (o *Object) ModTime() (result time.Time) + func (o *Object) Open(options ...fs.OpenOption) (in io.ReadCloser, err error) + func (o *Object) Remote() string + func (o *Object) Remove() error + func (o *Object) SetModTime(modTime time.Time) error + func (o *Object) Size() int64 + func (o *Object) Storable() bool + func (o *Object) String() string + func (o *Object) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (err error) + type Options struct + Account string + ChunkSize fs.SizeSuffix + Endpoint string + HardDelete bool + Key string + TestMode string + UploadCutoff fs.SizeSuffix + Versions bool