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

Function processDocFile

src/index.ts:350–358  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

348}
349
350async function processDocFile(filePath: string) {
351 const extractor = new WordExtractor();
352 const extracted = await extractor.extract(filePath);
353 return {
354 success: true,
355 content: extracted.getBody(),
356 metadata: { format: 'text', originalFormat: 'doc' },
357 };
358}
359
360async function processMarkdownWithFormatting(filePath: string) {
361 try {

Callers 1

processFileByExtensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected