shithub: furgit

ref: 2a5c12f0152240f54d01653b70b7605103393afd
dir: /object/storer/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
}