feat: support Huawei OBS

This commit is contained in:
hstyi
2025-06-27 15:42:00 +08:00
committed by GitHub
parent f28e785301
commit 54116a4bf5
15 changed files with 625 additions and 70 deletions

View File

@@ -2,7 +2,7 @@ plugins {
alias(libs.plugins.kotlin.jvm)
}
project.version = "0.0.1"
project.version = "0.0.2"

View File

@@ -39,9 +39,6 @@ class COSProtocolProvider private constructor() : TransferProtocolProvider {
try {
buckets = cosClient.listBuckets()
if (buckets.isEmpty()) {
throw IllegalStateException("没有获取到桶信息")
}
} finally {
cosClient.shutdown()
}