diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-31 16:59:18 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-31 16:59:18 +0800 |
commit | 655b6b211ae6df0186abd740f248939f7ddeaec1 (patch) | |
tree | ec5cdbbc52222f62c8fbb0bcf2a1aa7a9f6eb8b6 /cache_commit_path_file_html.go | |
parent | Correct table headers in MR indices (diff) | |
download | forge-655b6b211ae6df0186abd740f248939f7ddeaec1.tar.gz forge-655b6b211ae6df0186abd740f248939f7ddeaec1.tar.zst forge-655b6b211ae6df0186abd740f248939f7ddeaec1.zip |
Add descriptive comments to most Go functions
Diffstat (limited to 'cache_commit_path_file_html.go')
-rw-r--r-- | cache_commit_path_file_html.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cache_commit_path_file_html.go b/cache_commit_path_file_html.go index 944a6e7..9254d6b 100644 --- a/cache_commit_path_file_html.go +++ b/cache_commit_path_file_html.go @@ -10,6 +10,7 @@ import ( "go.lindenii.runxiyu.org/lindenii-common/clog" ) +// The key is the commit ID raw hash, followed by the file path. var commitPathFileHTMLCache *ristretto.Cache[[]byte, template.HTML] func init() { |