aboutsummaryrefslogtreecommitdiff
path: root/git_hooks_deploy.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-18 20:10:45 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-18 20:11:03 +0800
commit8402acf959f8d8c8faad9c8d9e9f28c68b486c74 (patch)
tree1989e1a3b07974f5a9663df30443dd2dd02108c9 /git_hooks_deploy.go
parentgit_hooks_client -> hookc (diff)
downloadforge-8402acf959f8d8c8faad9c8d9e9f28c68b486c74.tar.gz
forge-8402acf959f8d8c8faad9c8d9e9f28c68b486c74.tar.zst
forge-8402acf959f8d8c8faad9c8d9e9f28c68b486c74.zip
Remove underscores from Go code, pt 1
Diffstat (limited to '')
-rw-r--r--git_hooks_deploy.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/git_hooks_deploy.go b/git_hooks_deploy.go
index 9965b43..d95d6a5 100644
--- a/git_hooks_deploy.go
+++ b/git_hooks_deploy.go
@@ -10,10 +10,10 @@ import (
"path/filepath"
)
-// deploy_hooks_to_filesystem deploys the git hooks client to the filesystem.
+// 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.
-func deploy_hooks_to_filesystem() (err error) {
+func deployHooks() (err error) {
err = func() (err error) {
var src_fd fs.File
var dst_fd *os.File