MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / detectAllFormats

Function detectAllFormats

packages/parser/src/index.ts:47–49  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

45 * @returns 所有匹配的格式特征列表
46 */
47export function detectAllFormats(filePath: string): FormatFeature[] {
48 return sniffer.sniffAll(filePath)
49}
50
51/**
52 * 获取文件对应的解析器

Callers 2

streamingImportFunction · 0.90
registerImportRoutesFunction · 0.85

Calls 1

sniffAllMethod · 0.80

Tested by

no test coverage detected