Versions in this module Expand all Collapse all v1 v1.1.1 Feb 7, 2025 v1.1.0 Feb 7, 2025 v1.0.1 Feb 7, 2025 v0 v0.1.0 Oct 21, 2024 Changes in this version + const Gzip + const Uncompressed + func NewFs(ctx context.Context, name, rpath string, m configmap.Mapper) (fs.Fs, error) + type Fs struct + func (f *Fs) About(ctx context.Context) (*fs.Usage, error) + func (f *Fs) ChangeNotify(ctx context.Context, notifyFunc func(string, fs.EntryType), ...) + func (f *Fs) CleanUp(ctx context.Context) error + func (f *Fs) Copy(ctx context.Context, src fs.Object, remote string) (fs.Object, error) + func (f *Fs) DirCacheFlush() + func (f *Fs) DirMove(ctx context.Context, src fs.Fs, srcRemote, dstRemote string) error + func (f *Fs) DirSetModTime(ctx context.Context, dir string, modTime time.Time) error + func (f *Fs) Features() *fs.Features + func (f *Fs) Hashes() hash.Set + func (f *Fs) List(ctx context.Context, dir string) (entries fs.DirEntries, err error) + func (f *Fs) ListR(ctx context.Context, dir string, callback fs.ListRCallback) (err error) + func (f *Fs) MergeDirs(ctx context.Context, dirs []fs.Directory) error + func (f *Fs) Mkdir(ctx context.Context, dir string) error + func (f *Fs) MkdirMetadata(ctx context.Context, dir string, metadata fs.Metadata) (fs.Directory, error) + func (f *Fs) Move(ctx context.Context, src fs.Object, remote string) (fs.Object, error) + func (f *Fs) Name() string + func (f *Fs) NewObject(ctx context.Context, remote string) (fs.Object, error) + func (f *Fs) Precision() time.Duration + func (f *Fs) PublicLink(ctx context.Context, remote string, duration fs.Duration, unlink bool) (string, error) + func (f *Fs) Purge(ctx context.Context, dir string) error + 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) Rmdir(ctx context.Context, dir string) error + func (f *Fs) Root() string + func (f *Fs) SetWrapper(wrapper fs.Fs) + func (f *Fs) Shutdown(ctx context.Context) error + func (f *Fs) String() string + func (f *Fs) UnWrap() fs.Fs + func (f *Fs) WrapFs() fs.Fs + type Object struct + func (o *Object) Fs() fs.Info + func (o *Object) GetTier() string + func (o *Object) Hash(ctx context.Context, ht hash.Type) (string, error) + func (o *Object) ID() string + func (o *Object) Metadata(ctx context.Context) (fs.Metadata, error) + func (o *Object) MimeType(ctx context.Context) string + func (o *Object) Open(ctx context.Context, options ...fs.OpenOption) (rc io.ReadCloser, err error) + func (o *Object) Remote() string + func (o *Object) Remove(ctx context.Context) error + func (o *Object) SetMetadata(ctx context.Context, metadata fs.Metadata) error + func (o *Object) SetTier(tier string) error + func (o *Object) Size() int64 + func (o *Object) String() string + func (o *Object) UnWrap() fs.Object + func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (err error) + type ObjectInfo struct + func (o *ObjectInfo) Fs() fs.Info + func (o *ObjectInfo) GetTier() string + func (o *ObjectInfo) Hash(ctx context.Context, ht hash.Type) (string, error) + func (o *ObjectInfo) ID() string + func (o *ObjectInfo) Metadata(ctx context.Context) (fs.Metadata, error) + func (o *ObjectInfo) MimeType(ctx context.Context) string + func (o *ObjectInfo) ModTime(ctx context.Context) time.Time + func (o *ObjectInfo) Remote() string + func (o *ObjectInfo) Size() int64 + func (o *ObjectInfo) Storable() bool + func (o *ObjectInfo) String() string + func (o *ObjectInfo) UnWrap() fs.Object + type ObjectMetadata struct + CompressionMetadata sgzip.GzipMetadata + MD5 string + MimeType string + Mode int + Size int64 + type Options struct + CompressionLevel int + CompressionMode string + RAMCacheLimit fs.SizeSuffix + Remote string + type ReadCloserWrapper struct