aboutsummaryrefslogtreecommitdiff
path: root/cache_index_commits_display.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 /cache_index_commits_display.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 'cache_index_commits_display.go')
-rw-r--r--cache_index_commits_display.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache_index_commits_display.go b/cache_index_commits_display.go
index 786c3d3..fc28cf1 100644
--- a/cache_index_commits_display.go
+++ b/cache_index_commits_display.go
@@ -8,6 +8,7 @@ import (
"go.lindenii.runxiyu.org/lindenii-common/clog"
)
+// The key is the commit ID raw hash.
var indexCommitsDisplayCache *ristretto.Cache[[]byte, []commitDisplay]
func init() {