aboutsummaryrefslogtreecommitdiff
path: root/git_misc.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 /git_misc.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 'git_misc.go')
-rw-r--r--git_misc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_misc.go b/git_misc.go
index 8ba10e1..37f427b 100644
--- a/git_misc.go
+++ b/git_misc.go
@@ -23,7 +23,7 @@ import (
// request/router context in the future, as it cannot cover the nuance of
// fields needed.
func (s *Server) openRepo(ctx context.Context, groupPath []string, repoName string) (repo *git.Repository, description string, repoID int, fsPath string, err error) {
- err = s.Database.QueryRow(ctx, `
+ err = s.database.QueryRow(ctx, `
WITH RECURSIVE group_path_cte AS (
-- Start: match the first name in the path where parent_group IS NULL
SELECT