Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
47
export
function
detectAllFormats(filePath: string): FormatFeature[] {
48
return
sniffer.sniffAll(filePath)
49
}
50
51
/**
52
* 获取文件对应的解析器
Callers
2
streamingImport
Function · 0.90
registerImportRoutes
Function · 0.85
Calls
1
sniffAll
Method · 0.80
Tested by
no test coverage detected