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

Method registerAll

packages/parser/src/sniffer.ts:77–81  ·  view source on GitHub ↗

* 批量注册格式模块

(modules: FormatModule[])

Source from the content-addressed store, hash-verified

75 * 批量注册格式模块
76 */
77 registerAll(modules: FormatModule[]): void {
78 for (const module of modules) {
79 this.register(module)
80 }
81 }
82
83 /**
84 * 嗅探文件格式

Callers 1

index.tsFile · 0.80

Calls 1

registerMethod · 0.95

Tested by

no test coverage detected