aboutsummaryrefslogtreecommitdiff
path: root/git2d_deploy.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-05 21:47:44 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-05 21:47:44 +0800
commitefa6f33b4c67f64a4a8d8cd723b9bbc9494fc735 (patch)
treec4075c78bc4126d764f91ec68931c34281913dcc /git2d_deploy.go
parentAdd missing copyright headers (diff)
downloadforge-efa6f33b4c67f64a4a8d8cd723b9bbc9494fc735.tar.gz
forge-efa6f33b4c67f64a4a8d8cd723b9bbc9494fc735.tar.zst
forge-efa6f33b4c67f64a4a8d8cd723b9bbc9494fc735.zip
Unexport fields in Serverv0.1.24
Diffstat (limited to 'git2d_deploy.go')
-rw-r--r--git2d_deploy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git2d_deploy.go b/git2d_deploy.go
index 5a5f336..b75b63a 100644
--- a/git2d_deploy.go
+++ b/git2d_deploy.go
@@ -18,7 +18,7 @@ func (s *Server) deployGit2D() (err error) {
}
defer srcFD.Close()
- if dstFD, err = os.OpenFile(s.Config.Git.DaemonPath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0o755); err != nil {
+ if dstFD, err = os.OpenFile(s.config.Git.DaemonPath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0o755); err != nil {
return err
}
defer dstFD.Close()