feat: rename then delete if storage doesn't support overwrite upload (close #3643)

This commit is contained in:
Andy Hsu
2023-03-05 15:36:12 +08:00
parent 12a095a1d6
commit c915313ec9
3 changed files with 44 additions and 23 deletions

View File

@ -16,14 +16,15 @@ type Addition struct {
}
var config = driver.Config{
Name: "AliyundriveOpen",
LocalSort: false,
OnlyLocal: false,
OnlyProxy: false,
NoCache: false,
NoUpload: false,
NeedMs: false,
DefaultRoot: "root",
Name: "AliyundriveOpen",
LocalSort: false,
OnlyLocal: false,
OnlyProxy: false,
NoCache: false,
NoUpload: false,
NeedMs: false,
DefaultRoot: "root",
NoOverwriteUpload: true,
}
func init() {