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