MCPcopy Create free account
hub / github.com/gogs/gogs / RefCommits

Function RefCommits

internal/route/repo/commit.go:22–32  ·  view source on GitHub ↗
(c *context.Context)

Source from the content-addressed store, hash-verified

20)
21
22func RefCommits(c *context.Context) {
23 c.Data["PageIsViewFiles"] = true
24 switch c.Repo.TreePath {
25 case "":
26 Commits(c)
27 case "search":
28 SearchCommits(c)
29 default:
30 FileHistory(c)
31 }
32}
33
34// TODO(unknwon)
35func RenderIssueLinks(oldCommits []*git.Commit, _ string) []*git.Commit {

Callers

nothing calls this directly

Calls 3

CommitsFunction · 0.85
SearchCommitsFunction · 0.85
FileHistoryFunction · 0.85

Tested by

no test coverage detected