(req types.BatchRequest)
| 694 | } |
| 695 | |
| 696 | func (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 | |
| 700 | func buildLFSLockList(lfsLocks []database.LfsLock) *types.LFSLockList { |
| 701 | if len(lfsLocks) == 0 { |