Files
Enterprise-Knowledge-Base/internal/application/service
wizardchen 5d02404fdd feat: add unit tests for COS object name parsing and enhance error handling
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.
2026-05-29 13:47:32 +08:00
..
2025-08-05 15:08:07 +08:00
2026-05-28 20:22:55 +08:00
2026-05-28 20:22:55 +08:00
2026-05-28 20:22:55 +08:00