From 9c4f62a4a0705657404745c84d9ba9472d32def5 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 21:19:55 +0800 Subject: *: category -> group --- git_misc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git_misc.go') diff --git a/git_misc.go b/git_misc.go index 64d1ff5..984d0f2 100644 --- a/git_misc.go +++ b/git_misc.go @@ -11,8 +11,8 @@ import ( "go.lindenii.runxiyu.org/lindenii-common/misc" ) -func open_git_repo(category_name, repo_name string) (*git.Repository, error) { - return git.PlainOpen(filepath.Join(config.Git.Root, category_name, repo_name+".git")) +func open_git_repo(group_name, repo_name string) (*git.Repository, error) { + return git.PlainOpen(filepath.Join(config.Git.Root, group_name, repo_name+".git")) } func build_display_git_tree(tree *object.Tree) []display_git_tree_entry_t { -- cgit v1.2.3