MCPcopy Index your code
hub / github.com/simstudioai/sim / parseBuffer

Method parseBuffer

apps/sim/lib/file-parsers/types.ts:24–24  ·  view source on GitHub ↗
(buffer: Buffer)

Source from the content-addressed store, hash-verified

22export interface FileParser {
23 parseFile(filePath: string): Promise<FileParseResult>
24 parseBuffer?(buffer: Buffer): Promise<FileParseResult>
25}
26
27export type SupportedFileType =

Callers 1

parseBufferFunction · 0.65

Implementers 9

TxtParserapps/sim/lib/file-parsers/txt-parser.t
CsvParserapps/sim/lib/file-parsers/csv-parser.t
PptxParserapps/sim/lib/file-parsers/pptx-parser.
PdfParserapps/sim/lib/file-parsers/pdf-parser.t
DocxParserapps/sim/lib/file-parsers/docx-parser.
XlsxParserapps/sim/lib/file-parsers/xlsx-parser.
MdParserapps/sim/lib/file-parsers/md-parser.ts
DocParserapps/sim/lib/file-parsers/doc-parser.t
HtmlParserapps/sim/lib/file-parsers/html-parser.

Calls

no outgoing calls

Tested by

no test coverage detected