This commit introduces unit tests for the `parseCosObjectName` method in the `cosFileService`, ensuring it correctly rejects local scheme URLs and properly parses COS scheme URLs. Additionally, the `parseCosObjectName` method has been updated to return an error for unsupported schemes, improving error handling in the `GetFile` and `DeleteFile` methods. This enhancement ensures more robust handling of file paths in the application. |
||
|---|---|---|
| .. | ||
| cos.go | ||
| cos_parse_test.go | ||
| dummy.go | ||
| factory.go | ||
| ks3.go | ||
| local.go | ||
| local_test.go | ||
| minio.go | ||
| obs.go | ||
| oss.go | ||
| oss_test.go | ||
| s3.go | ||
| s3_test.go | ||
| tos.go | ||