aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_index.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_handle_repo_index.go')
-rw-r--r--http_handle_repo_index.go1
1 files changed, 1 insertions, 0 deletions
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