object storage supports webdav

This commit is contained in:
MaysWind
2025-08-02 01:26:29 +08:00
parent cad53d0bfc
commit 29a87dcfaf
6 changed files with 438 additions and 2 deletions
+2
View File
@@ -86,6 +86,8 @@ func newObjectStorage(config *settings.Config, pathPrefix string) (ObjectStorage
return NewLocalFileSystemObjectStorage(config, pathPrefix)
} else if config.StorageType == settings.MinIOStorageType {
return NewMinIOObjectStorage(config, pathPrefix)
} else if config.StorageType == settings.WebDAVStorageType {
return NewWebDAVObjectStorage(config, pathPrefix)
}
return nil, errs.ErrInvalidStorageType