Versions in this module Expand all Collapse all v1 v1.48.1 Aug 21, 2019 Changes in this version + func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) + type Fs struct + func (f *Fs) About() (usage *fs.Usage, err error) + func (f *Fs) Copy(src fs.Object, remote string) (fs.Object, error) + func (f *Fs) DirMove(src fs.Fs, srcRemote, dstRemote string) 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) Mkdir(dir string) error + func (f *Fs) Move(src fs.Object, remote string) (fs.Object, error) + func (f *Fs) Name() string + func (f *Fs) NewObject(remote string) (fs.Object, error) + func (f *Fs) Precision() time.Duration + func (f *Fs) PublicLink(remote string) (link string, err error) + func (f *Fs) Purge() (err 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) ModTime() time.Time + func (o *Object) Open(options ...fs.OpenOption) (in io.ReadCloser, err error) + func (o *Object) Remote() string + func (o *Object) Remove() (err 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) error + type Options struct + ChunkSize fs.SizeSuffix + Impersonate string