合并分片文件并返回文件路径和完整哈希值 :param upload_id: 上传会话ID :param chunk_info: 分片信息 :param save_path: 文件保存路径 :return: (文件路径, 文件哈希值)
(self, upload_id: str, chunk_info: UploadChunk, save_path: str)
| 71 | raise NotImplementedError |
| 72 | |
| 73 | async def merge_chunks(self, upload_id: str, chunk_info: UploadChunk, save_path: str) -> tuple[str, str]: |
| 74 | """ |
| 75 | 合并分片文件并返回文件路径和完整哈希值 |
| 76 | :param upload_id: 上传会话ID |
| 77 | :param chunk_info: 分片信息 |
| 78 | :param save_path: 文件保存路径 |
| 79 | :return: (文件路径, 文件哈希值) |
| 80 | """ |
| 81 | raise NotImplementedError |
| 82 | |
| 83 | async def generate_presigned_upload_url(self, save_path: str, expires_in: int = 900) -> Optional[str]: |
| 84 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected