diff options
| author | 2026-03-06 11:26:21 +0800 | |
|---|---|---|
| committer | 2026-03-06 11:30:56 +0800 | |
| commit | 75c7147c6afcb64a7c8bfedb08f1613c5011ff71 (patch) | |
| tree | d348e7f4eeec5a905970a7ff14c5c2dd492d944a /objectstore/packed/delta_chain.go | |
| parent | format/commitgraph: Split files (diff) | |
| signature | No signature | |
objectstore/packed: Split files
Diffstat (limited to 'objectstore/packed/delta_chain.go')
| -rw-r--r-- | objectstore/packed/delta_chain.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/objectstore/packed/delta_chain.go b/objectstore/packed/delta_chain.go new file mode 100644 index 00000000..d473a25c --- /dev/null +++ b/objectstore/packed/delta_chain.go @@ -0,0 +1,13 @@ +package packed + +import "codeberg.org/lindenii/furgit/objecttype" + +// 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 +} |
