From 655b6b211ae6df0186abd740f248939f7ddeaec1 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 31 Mar 2025 16:59:18 +0800 Subject: Add descriptive comments to most Go functions --- http_handle_repo_index.go | 1 + 1 file changed, 1 insertion(+) (limited to 'http_handle_repo_index.go') diff --git a/http_handle_repo_index.go b/http_handle_repo_index.go index 2b84f89..9dc3ea6 100644 --- a/http_handle_repo_index.go +++ b/http_handle_repo_index.go @@ -14,6 +14,7 @@ import ( "github.com/go-git/go-git/v5/plumbing/storer" ) +// httpHandleRepoIndex provides the front page of a repo. func httpHandleRepoIndex(writer http.ResponseWriter, _ *http.Request, params map[string]any) { var repo *git.Repository var repoName string -- cgit v1.2.3