Versions in this module Expand all Collapse all v0 v0.1.0 Oct 26, 2024 Changes in this version + func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, error) + type APIError struct + Message string + StatusCode string + func (e APIError) Error() string + type ChangeLog []ChangeLogEntry + type ChangeLogEntry struct + Action string + Path string + PathNew string + Time time.Time + Type string + type FilesystemNode struct + Created time.Time + FileSize int64 + FileType string + ID string + ModeOctal string + Modified time.Time + Name string + Path string + SHA256Sum string + Type string + type FilesystemPath struct + BaseIndex int + Children []FilesystemNode + Path []FilesystemNode + func (fsp *FilesystemPath) Base() FilesystemNode + type Fs struct + func (f *Fs) About(ctx context.Context) (usage *fs.Usage, err error) + func (f *Fs) ChangeNotify(ctx context.Context, notify func(string, fs.EntryType), ...) + func (f *Fs) DirMove(ctx context.Context, src fs.Fs, srcRemote, dstRemote string) (err error) + func (f *Fs) DirSetModTime(ctx context.Context, dir string, modTime time.Time) (err 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) Mkdir(ctx context.Context, dir string) (err 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, expire fs.Duration, unlink bool) (string, error) + func (f *Fs) Purge(ctx context.Context, dir string) (err 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) (err error) + func (f *Fs) Root() string + func (f *Fs) String() string + type Object struct + func (o *Object) Fs() fs.Info + func (o *Object) Hash(ctx context.Context, t hash.Type) (string, error) + func (o *Object) Metadata(ctx context.Context) (fs.Metadata, error) + func (o *Object) MimeType(ctx context.Context) string + func (o *Object) ModTime(ctx context.Context) time.Time + func (o *Object) Open(ctx context.Context, options ...fs.OpenOption) (in io.ReadCloser, err error) + func (o *Object) Remote() string + func (o *Object) Remove(ctx context.Context) error + func (o *Object) SetModTime(ctx context.Context, modTime time.Time) (err error) + func (o *Object) Size() int64 + func (o *Object) Storable() bool + func (o *Object) String() string + func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (err error) + type Options struct + APIKey string + APIURL string + RootFolderID string + type SubscriptionType struct + Name string + StorageSpace int64 + type UserInfo struct + StorageSpaceUsed int64 + Subscription SubscriptionType + Username string