aboutsummaryrefslogtreecommitdiff
path: root/git_hooks_deploy.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-31 16:59:18 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-31 16:59:18 +0800
commit655b6b211ae6df0186abd740f248939f7ddeaec1 (patch)
treeec5cdbbc52222f62c8fbb0bcf2a1aa7a9f6eb8b6 /git_hooks_deploy.go
parentCorrect table headers in MR indices (diff)
downloadforge-655b6b211ae6df0186abd740f248939f7ddeaec1.tar.gz
forge-655b6b211ae6df0186abd740f248939f7ddeaec1.tar.zst
forge-655b6b211ae6df0186abd740f248939f7ddeaec1.zip
Add descriptive comments to most Go functions
Diffstat (limited to '')
-rw-r--r--git_hooks_deploy.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/git_hooks_deploy.go b/git_hooks_deploy.go
index eeb043e..c9039fe 100644
--- a/git_hooks_deploy.go
+++ b/git_hooks_deploy.go
@@ -11,9 +11,9 @@ import (
"path/filepath"
)
-// deployHooks deploys the git hooks client to the filesystem.
-// The git hooks client is expected to be embedded in resources_fs and must be
-// pre-compiled during the build process; see the Makefile.
+// deployHooks deploys the git hooks client to the filesystem. The git hooks
+// client is expected to be embedded in resourcesFS and must be pre-compiled
+// during the build process; see the Makefile.
func deployHooks() (err error) {
err = func() (err error) {
var srcFD fs.File