diff options
| author | 2026-03-30 13:53:54 +0000 | |
|---|---|---|
| committer | 2026-03-30 13:54:27 +0000 | |
| commit | 238b2caf83dde3c4395109c51b8c9affa6e11890 (patch) | |
| tree | e9d946bea08515c2d86954ea617a237710f9f2bf /object/store/packed/internal/reading/delta_chain.go | |
| parent | object/store/memory: Remove AddObject, fix lints (diff) | |
| signature | No signature | |
object/store/packed: Start the internal/reading split
Diffstat (limited to 'object/store/packed/internal/reading/delta_chain.go')
| -rw-r--r-- | object/store/packed/internal/reading/delta_chain.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/object/store/packed/internal/reading/delta_chain.go b/object/store/packed/internal/reading/delta_chain.go new file mode 100644 index 00000000..6e82873e --- /dev/null +++ b/object/store/packed/internal/reading/delta_chain.go @@ -0,0 +1,13 @@ +package reading + +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 +} |
