shithub: furgit

ref: d2d3ce370816d178cc0beb4271123ee37d07657c
dir: /refstore/files/transaction_operation.go/

View raw version
package files

import "codeberg.org/lindenii/furgit/objectid"

type txOp struct {
	name      string
	kind      txKind
	newID     objectid.ObjectID
	oldID     objectid.ObjectID
	newTarget string
	oldTarget string
}

type preparedTxOp struct {
	op     txOp
	target resolvedWriteTarget
}

type resolvedWriteTarget struct {
	name string
	loc  refPath
	ref  directRef
}