From 7a52525ff474629316a3986f8b7391ca191da52e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 5 Apr 2025 23:21:58 +0800 Subject: Remove unused types/functions --- git_hooks_handle_other.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'git_hooks_handle_other.go') 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) { -- cgit v1.2.3