aboutsummaryrefslogtreecommitdiff
path: root/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache.go')
-rw-r--r--cache.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.go b/cache.go
index 72c6458..8f9781b 100644
--- a/cache.go
+++ b/cache.go
@@ -16,6 +16,7 @@ type treeReadmeCacheEntry struct {
ReadmeRendered template.HTML
}
+// key = commit hash + path
var treeReadmeCache *ristretto.Cache[[]byte, treeReadmeCacheEntry]
func init() {