feat: driver additional items parse
This commit is contained in:
@ -37,8 +37,8 @@ func (d *Driver) Drop(ctx context.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (d *Driver) GetAccount() model.Account {
|
||||
return d.Account
|
||||
func (d *Driver) GetAddition() driver.Additional {
|
||||
return d.Addition
|
||||
}
|
||||
|
||||
func (d *Driver) File(ctx context.Context, path string) (driver.FileInfo, error) {
|
||||
|
@ -3,7 +3,7 @@ package local
|
||||
import "github.com/alist-org/alist/v3/internal/driver"
|
||||
|
||||
type Addition struct {
|
||||
RootFolder string `json:"root_folder" type:"string" desc:"root folder path" default:"/"`
|
||||
RootFolder string `json:"root_folder" type:"string" help:"root folder path" default:"/"`
|
||||
}
|
||||
|
||||
var config = driver.Config{
|
||||
|
Reference in New Issue
Block a user