diff options
Diffstat (limited to 'object/storer/packed/delta_chain.go')
| -rw-r--r-- | object/storer/packed/delta_chain.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/object/storer/packed/delta_chain.go b/object/storer/packed/delta_chain.go new file mode 100644 index 00000000..372e89cd --- /dev/null +++ b/object/storer/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 +} |
