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

Function uploadCode

frontend/src/api/codeshare.ts:16–19  ·  view source on GitHub ↗
(data: UploadCodePayload)

Source from the content-addressed store, hash-verified

14}
15
16export function uploadCode(data: UploadCodePayload) {
17 // 实际请求:<baseURL>/codeshare/upload
18 return http.post<UploadCodeResponse>("/codeshare/upload", data);
19}
20
21export function getCodeByHash(hash: string) {
22 // 实际请求:<baseURL>/codeshare/code/:hash

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected