mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
🚧 webdav write interface
This commit is contained in:
@@ -135,11 +135,11 @@ func (driver Pan123) GetFile(path string, account *model.Account) (*Pan123File,
|
||||
if file.Type != conf.FOLDER {
|
||||
return &file, err
|
||||
} else {
|
||||
return nil, NotFile
|
||||
return nil, ErrNotFile
|
||||
}
|
||||
}
|
||||
}
|
||||
return nil, PathNotFound
|
||||
return nil, ErrPathNotFound
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in New Issue
Block a user