feat: add baidu_netdisk driver

This commit is contained in:
Noah Hsu
2022-09-02 22:46:31 +08:00
parent decea4a739
commit 611457c0e7
21 changed files with 711 additions and 48 deletions

View File

@ -13,6 +13,7 @@ type Obj interface {
ModTime() time.Time
IsDir() bool
GetID() string
GetPath() string
}
type FileStreamer interface {
@ -32,8 +33,8 @@ type Thumb interface {
Thumb() string
}
type SetID interface {
SetID(id string)
type SetPath interface {
SetPath(path string)
}
func SortFiles(objs []Obj, orderBy, orderDirection string) {