alist_v3

package
v3.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: AGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AListV3

type AListV3 struct {
	model.Storage
	Addition
}

func (*AListV3) Config

func (d *AListV3) Config() driver.Config

func (*AListV3) Copy

func (d *AListV3) Copy(ctx context.Context, srcObj, dstDir model.Obj) error

func (*AListV3) Drop

func (d *AListV3) Drop(ctx context.Context) error

func (*AListV3) GetAddition

func (d *AListV3) GetAddition() driver.Additional

func (*AListV3) Init

func (d *AListV3) Init(ctx context.Context, storage model.Storage) error
func (d *AListV3) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)

func (*AListV3) List

func (d *AListV3) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)

func (*AListV3) MakeDir

func (d *AListV3) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error

func (*AListV3) Move

func (d *AListV3) Move(ctx context.Context, srcObj, dstDir model.Obj) error

func (*AListV3) Put

func (d *AListV3) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, up driver.UpdateProgress) error

func (*AListV3) Remove

func (d *AListV3) Remove(ctx context.Context, obj model.Obj) error

func (*AListV3) Rename

func (d *AListV3) Rename(ctx context.Context, srcObj model.Obj, newName string) error

type Addition

type Addition struct {
	driver.RootPath
	Address     string `json:"url" required:"true"`
	Password    string `json:"password"`
	AccessToken string `json:"access_token"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL