mirror of
https://github.com/AlistGo/alist.git
synced 2025-11-25 03:15:10 +08:00
feat(azure_blob): implement GetRootId interface in Addition struct (#8389)
fix failed get dir
This commit is contained in:
@@ -12,6 +12,11 @@ type Addition struct {
|
|||||||
SignURLExpire int `json:"sign_url_expire" type:"number" default:"4" help:"The expiration time for SAS URLs, in hours."`
|
SignURLExpire int `json:"sign_url_expire" type:"number" default:"4" help:"The expiration time for SAS URLs, in hours."`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// implement GetRootId interface
|
||||||
|
func (r Addition) GetRootId() string {
|
||||||
|
return r.ContainerName
|
||||||
|
}
|
||||||
|
|
||||||
var config = driver.Config{
|
var config = driver.Config{
|
||||||
Name: "Azure Blob Storage",
|
Name: "Azure Blob Storage",
|
||||||
LocalSort: true,
|
LocalSort: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user