shithub: furgit

ref: b46eba214daa9a6ede179ed543033b0f3485ec2e
dir: /objectstore/packed/delta_chain.go/

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