MCPcopy Create free account
hub / github.com/LeoninCS/DevDesk / fetchMarkdownDoc

Function fetchMarkdownDoc

frontend/src/api/markdown.ts:19–21  ·  view source on GitHub ↗
(hash: string)

Source from the content-addressed store, hash-verified

17
18// GET /markdown/:hash 获取文档
19export function fetchMarkdownDoc(hash: string) {
20 return http.get<MarkdownDocResponse>(`/markdown/${hash}`);
21}
22
23// POST /markdown/update 更新文档
24// body: { hash, content }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected