Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeoninCS/DevDesk
/ getCodeByHash
Function
getCodeByHash
frontend/src/api/codeshare.ts:21–24 ·
view source on GitHub ↗
(hash: string)
Source
from the content-addressed store, hash-verified
19
}
20
21
export
function
getCodeByHash(hash: string) {
22
// 实际请求:<baseURL>/codeshare/code/:hash
23
return
http.get(`/codeshare/code/${hash}`);
24
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected