MCPcopy Create free account
hub / github.com/Tele-AI/doc-ops-mcp / writeDocxOutputFile

Function writeDocxOutputFile

src/index.ts:117–119  ·  view source on GitHub ↗
(outputPath: string, content: Buffer)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected