Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeoninCS/DevDesk
/ NewCodeShareHandler
Function
NewCodeShareHandler
backend/internal/handler/CodeShareHandler.go:15–17 ·
view source on GitHub ↗
(cs *service.CodeShare)
Source
from the content-addressed store, hash-verified
13
}
14
15
func
NewCodeShareHandler(cs *service.CodeShare) *CodeShareHandler {
16
return
&CodeShareHandler{cs: cs}
17
}
18
19
// POST /codeshare/upload
20
func
(h *CodeShareHandler) Upload(c *gin.Context) {
Callers
1
NewHandler
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected