aboutsummaryrefslogtreecommitdiff
path: root/git_hooks_handle_other.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-05 23:21:58 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-05 23:21:58 +0800
commit7a52525ff474629316a3986f8b7391ca191da52e (patch)
tree1b0b64a235c4b3f9165c6130621a4f6bb1852ad5 /git_hooks_handle_other.go
parentweb: Separate HTTP error pages into its own package (diff)
downloadforge-7a52525ff474629316a3986f8b7391ca191da52e.tar.gz
forge-7a52525ff474629316a3986f8b7391ca191da52e.tar.zst
forge-7a52525ff474629316a3986f8b7391ca191da52e.zip
Remove unused types/functions
Diffstat (limited to 'git_hooks_handle_other.go')
-rw-r--r--git_hooks_handle_other.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/git_hooks_handle_other.go b/git_hooks_handle_other.go
index 6fe6d9e..d4a6aea 100644
--- a/git_hooks_handle_other.go
+++ b/git_hooks_handle_other.go
@@ -25,11 +25,6 @@ import (
"go.lindenii.runxiyu.org/forge/internal/misc"
)
-var (
- errGetFD = errors.New("unable to get file descriptor")
- errGetUcred = errors.New("failed getsockopt")
-)
-
// hooksHandler handles a connection from hookc via the
// unix socket.
func (s *Server) hooksHandler(conn net.Conn) {