yao/attachment/s3
Max c3b374f043 Implement LocalPath functionality for attachment management
- Added LocalPath method to the Manager and Storage interfaces to retrieve the absolute path and content type of files.
- Enhanced local and S3 storage implementations to support LocalPath, including handling gzipped files and content type detection.
- Introduced comprehensive tests for LocalPath functionality, covering various file types, non-existent files, and gzipped content.
- Updated AddFile API to utilize LocalPath for retrieving file information, improving error handling and response consistency.
2025-07-27 09:48:49 +08:00
..
storage.go Implement LocalPath functionality for attachment management 2025-07-27 09:48:49 +08:00
storage_test.go Implement LocalPath functionality for attachment management 2025-07-27 09:48:49 +08:00