MCPcopy
hub / github.com/buxuku/SmartSub / MsFileEntry

Interface MsFileEntry

main/helpers/fireRedModelDownloader.ts:41–45  ·  view source on GitHub ↗

ModelScope 文件树条目(仅取所需字段)。

Source from the content-addressed store, hash-verified

39
40/** ModelScope 文件树条目(仅取所需字段)。 */
41interface MsFileEntry {
42 Path: string;
43 Size: number;
44 Type: string;
45}
46
47/** 拉取 JSON(跟随 3xx 重定向),用于 ModelScope 文件树 API。 */
48function fetchJson<T>(url: string): Promise<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected