Documentation
¶
Index ¶
- type Addition
- type FileInfo
- type Group
- type Obj
- type Wps
- func (d *Wps) Config() driver.Config
- func (d *Wps) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Wps) Drop(ctx context.Context) error
- func (d *Wps) GetAddition() driver.Additional
- func (d *Wps) GetDetails(ctx context.Context) (*model.StorageDetails, error)
- func (d *Wps) Init(ctx context.Context) error
- func (d *Wps) Link(ctx context.Context, file model.Obj, _ model.LinkArgs) (*model.Link, error)
- func (d *Wps) List(ctx context.Context, dir model.Obj, _ model.ListArgs) ([]model.Obj, error)
- func (d *Wps) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *Wps) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Wps) Put(ctx context.Context, dstDir model.Obj, file model.FileStreamer, ...) error
- func (d *Wps) Remove(ctx context.Context, obj model.Obj) error
- func (d *Wps) Rename(ctx context.Context, srcObj model.Obj, newName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo struct {
GroupID int64 `json:"groupid"`
ParentID int64 `json:"parentid"`
Name string `json:"fname"`
Size int64 `json:"fsize"`
Type string `json:"ftype"`
Ctime int64 `json:"ctime"`
Mtime int64 `json:"mtime"`
ID int64 `json:"id"`
Deleted bool `json:"deleted"`
FilePerms filePerms `json:"file_perms_acl"`
}
type Wps ¶
func (*Wps) GetAddition ¶
func (d *Wps) GetAddition() driver.Additional
func (*Wps) GetDetails ¶ added in v4.1.10
Click to show internal directories.
Click to hide internal directories.