diff --git a/internal/driver/addition.go b/internal/driver/addition.go new file mode 100644 index 00000000000..000a441c0c3 --- /dev/null +++ b/internal/driver/addition.go @@ -0,0 +1,4 @@ +package driver + +type Addition interface { +} diff --git a/internal/driver/driver.go b/internal/driver/driver.go index ab3e6953445..9473c710a2d 100644 --- a/internal/driver/driver.go +++ b/internal/driver/driver.go @@ -22,11 +22,12 @@ type Writer interface { Rename(ctx context.Context, src, dst string) error Copy(ctx context.Context, src, dst string) error Remove(ctx context.Context, path string) error - Put(ctx context.Context, stream FileStream, parent string) error + Put(ctx context.Context, stream FileStream, parentPath string) error } type Other interface { Init(ctx context.Context) error Update(ctx context.Context) error Drop(ctx context.Context) error + Additional() Addition } diff --git a/internal/model/account.go b/internal/model/account.go index f5c70c91c60..3a2c0cf5b3d 100644 --- a/internal/model/account.go +++ b/internal/model/account.go @@ -6,5 +6,5 @@ type Account struct { Index int `json:"index"` Driver string `json:"driver"` Status string `json:"status"` - Custom string `json:"custom"` + Addition string `json:"addition"` }