There was an error while loading. Please reload this page.
1 parent 492476d commit 79965abCopy full SHA for 79965ab
1 file changed
internal/driver/driver.go
@@ -2,6 +2,7 @@ package driver
2
3
import (
4
"context"
5
+ "github.com/alist-org/alist/v3/internal/model"
6
)
7
8
type Driver interface {
@@ -26,8 +27,9 @@ type Writer interface {
26
27
}
28
29
type Other interface {
- Init(ctx context.Context) error
30
- Update(ctx context.Context) error
+ Init(ctx context.Context, account model.Account) error
31
+ Update(ctx context.Context, account model.Account) error
32
Drop(ctx context.Context) error
- Additional() Addition
33
+ // GetAccount transform additional field to string and assign to account's addition
34
+ GetAccount() model.Account
35
0 commit comments