MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / needsPreprocess

Method needsPreprocess

packages/parser/src/types.ts:140–140  ·  view source on GitHub ↗

是否需要预处理

(filePath: string, fileSize: number)

Source from the content-addressed store, hash-verified

138export interface Preprocessor {
139 /** 是否需要预处理 */
140 needsPreprocess(filePath: string, fileSize: number): boolean
141 /** 执行预处理,返回临时文件路径 */
142 preprocess(filePath: string, onProgress?: (progress: ParseProgress) => void): Promise<string>
143 /** 清理临时文件 */

Callers 1

needsPreprocessFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected