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_raw.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'http_handle_repo_raw.go') diff --git a/http_handle_repo_raw.go b/http_handle_repo_raw.go index 858f912..4394e18 100644 --- a/http_handle_repo_raw.go +++ b/http_handle_repo_raw.go @@ -14,6 +14,8 @@ import ( "github.com/go-git/go-git/v5/plumbing/object" ) +// httpHandleRepoRaw serves raw files, or directory listings that point to raw +// files. func httpHandleRepoRaw(writer http.ResponseWriter, request *http.Request, params map[string]any) { var rawPathSpec, pathSpec string var repo *git.Repository -- cgit v1.2.3