shithub: furgit

ref: fb9eb058f1c9b7cb26f33bbe679a85f530566641
dir: /ref/store/files/transaction.go/

View raw version
package files

import (
	refstore "codeberg.org/lindenii/furgit/ref/store"
)

// Transaction stages files-store updates for one atomic commit.
type Transaction struct {
	store *Store
	ops   []queuedUpdate
}

var _ refstore.Transaction = (*Transaction)(nil)