shithub: furgit

ref: 94011e3762ca25b8ab3a9b9fe0d7a9e155381477
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
}