aboutsummaryrefslogtreecommitdiff
path: root/object/store/packed/internal/reading/delta_chain.go
blob: 6e82873e6f4451b13a77a3191f2f81f28c410e1f (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
}