diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-31 16:59:18 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-31 16:59:18 +0800 |
commit | 655b6b211ae6df0186abd740f248939f7ddeaec1 (patch) | |
tree | ec5cdbbc52222f62c8fbb0bcf2a1aa7a9f6eb8b6 /http_handle_branches.go | |
parent | Correct table headers in MR indices (diff) | |
download | forge-655b6b211ae6df0186abd740f248939f7ddeaec1.tar.gz forge-655b6b211ae6df0186abd740f248939f7ddeaec1.tar.zst forge-655b6b211ae6df0186abd740f248939f7ddeaec1.zip |
Add descriptive comments to most Go functions
Diffstat (limited to 'http_handle_branches.go')
-rw-r--r-- | http_handle_branches.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http_handle_branches.go b/http_handle_branches.go index fa3bbab..48ba5ab 100644 --- a/http_handle_branches.go +++ b/http_handle_branches.go @@ -12,6 +12,7 @@ import ( "github.com/go-git/go-git/v5/plumbing/storer" ) +// httpHandleRepoBranches provides the branches page in repos. func httpHandleRepoBranches(writer http.ResponseWriter, _ *http.Request, params map[string]any) { var repo *git.Repository var repoName string |