(outputPath: string, content: Buffer)
| 115 | |
| 116 | // 辅助函数:写入输出文件 |
| 117 | async function writeDocxOutputFile(outputPath: string, content: Buffer): Promise<void> { |
| 118 | await fs.writeFile(outputPath, content); |
| 119 | } |
| 120 | |
| 121 | // 辅助函数:创建成功响应 |
| 122 | function createHtmlToDocxSuccessResponse(outputPath: string, docxBuffer: Buffer) { |
no outgoing calls
no test coverage detected