shithub: furgit

ref: fb9eb058f1c9b7cb26f33bbe679a85f530566641
dir: /object/store/packed/delta_chain.go/

View raw version
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
}