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

Function getParser

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

Source from the content-addressed store, hash-verified

54 * @returns 解析器实例,如果无法识别则返回 null
55 */
56export function getParser(filePath: string): Parser | null {
57 return sniffer.getParser(filePath)
58}
59
60/**
61 * 获取所有支持的格式

Callers

nothing calls this directly

Calls 1

getParserMethod · 0.80

Tested by

no test coverage detected