aboutsummaryrefslogtreecommitdiff
path: root/objectstore/packed/delta_cache.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-06 11:26:21 +0800
committerGravatar Runxi Yu2026-03-06 11:30:56 +0800
commit75c7147c6afcb64a7c8bfedb08f1613c5011ff71 (patch)
treed348e7f4eeec5a905970a7ff14c5c2dd492d944a /objectstore/packed/delta_cache.go
parentformat/commitgraph: Split files (diff)
signatureNo signature
objectstore/packed: Split files
Diffstat (limited to 'objectstore/packed/delta_cache.go')
-rw-r--r--objectstore/packed/delta_cache.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/objectstore/packed/delta_cache.go b/objectstore/packed/delta_cache.go
index a911b254..08040620 100644
--- a/objectstore/packed/delta_cache.go
+++ b/objectstore/packed/delta_cache.go
@@ -5,6 +5,8 @@ import (
"codeberg.org/lindenii/furgit/objecttype"
)
+const defaultDeltaCacheMaxBytes = 32 << 20
+
// deltaBaseKey identifies one base object by pack location.
type deltaBaseKey struct {
packName string