From 1141a8db34a19e0d82fb8ee2732c47351f8e98e1 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 9 May 2026 23:59:47 +0200 Subject: [PATCH] fix comment typos --- handlers.go | 2 +- repo/repo.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers.go b/handlers.go index 691afa8..784fdd4 100644 --- a/handlers.go +++ b/handlers.go @@ -51,7 +51,7 @@ func httpDefaultError(w http.ResponseWriter, code int) { http.Error(w, http.StatusText(code), code) } -// ServeHTTP makes this server an http.Handler. It handlers the administrative +// ServeHTTP makes this server an http.Handler. It handles the administrative // part of the request (figuring out the filesystem location, performing // authentication, etc) and then passes it on to repo.Handler for actual // REST API processing. diff --git a/repo/repo.go b/repo/repo.go index adc4a55..0fb09d2 100644 --- a/repo/repo.go +++ b/repo/repo.go @@ -810,7 +810,7 @@ func (h *Handler) internalServerError(w http.ResponseWriter, err error) { httpDefaultError(w, http.StatusInternalServerError) } -// internalServerError is called to report an error that occurred while +// fileAccessError is called to report an error that occurred while // accessing a file. If the does not exist, the corresponding http status code // will be returned to the client. All other errors are passed on to // internalServerError