aboutsummaryrefslogtreecommitdiff
path: root/object/store/packed/delta_chain.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-28 04:19:44 +0000
committerGravatar Runxi Yu2026-03-28 04:20:29 +0000
commit402ef2733813d128631ca4aea18c2908c74340d5 (patch)
treee03a90b6f41411bd62e7339390802c5c50082850 /object/store/packed/delta_chain.go
parentobject/store: Rename from object/storer (diff)
signatureNo signature
object/store: Rename back from storer; rename Store to ReadingStore v0.1.118
Diffstat (limited to 'object/store/packed/delta_chain.go')
-rw-r--r--object/store/packed/delta_chain.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/object/store/packed/delta_chain.go b/object/store/packed/delta_chain.go
new file mode 100644
index 00000000..372e89cd
--- /dev/null
+++ b/object/store/packed/delta_chain.go
@@ -0,0 +1,13 @@
+package packed
+
+import objecttype "codeberg.org/lindenii/furgit/object/type"
+
+// deltaChain describes how to reconstruct one requested object.
+type deltaChain struct {
+ // baseLoc points to the innermost base object.
+ baseLoc location
+ // baseType is the canonical object type resolved from baseLoc.
+ baseType objecttype.Type
+ // deltas contains delta objects from target down toward base.
+ deltas []deltaNode
+}