Documentation ¶
Index ¶
- type Addition
- type AuthTokenResp
- type RepoDirItemResp
- type Seafile
- func (d *Seafile) Config() driver.Config
- func (d *Seafile) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Seafile) Drop(ctx context.Context) error
- func (d *Seafile) GetAddition() driver.Additional
- func (d *Seafile) Init(ctx context.Context) error
- func (d *Seafile) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *Seafile) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *Seafile) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *Seafile) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Seafile) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error
- func (d *Seafile) Remove(ctx context.Context, obj model.Obj) error
- func (d *Seafile) 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 AuthTokenResp ¶
type AuthTokenResp struct {
Token string `json:"token"`
}
type RepoDirItemResp ¶
type Seafile ¶
func (*Seafile) GetAddition ¶
func (d *Seafile) GetAddition() driver.Additional
Click to show internal directories.
Click to hide internal directories.