MCPcopy Create free account
hub / github.com/OpenCSGs/csghub-server / buildVerifyLink

Method buildVerifyLink

component/git_http.go:696–698  ·  view source on GitHub ↗
(req types.BatchRequest)

Source from the content-addressed store, hash-verified

694}
695
696func (c *GitHTTPComponent) buildVerifyLink(req types.BatchRequest) string {
697 return c.config.APIServer.PublicDomain + "/" + path.Join(fmt.Sprintf("%ss", req.RepoType), url.PathEscape(req.Namespace), url.PathEscape(req.Name+".git"), "info/lfs/verify")
698}
699
700func buildLFSLockList(lfsLocks []database.LfsLock) *types.LFSLockList {
701 if len(lfsLocks) == 0 {

Callers 1

buildObjectResponseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected