shithub: furgit

ref: d314d1f7e933ca83081eec289aa0cb6e75a7eeac
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
}