ref: fb9eb058f1c9b7cb26f33bbe679a85f530566641
dir: /ref/store/transactional_store.go/
package refstore
// TransactionalStore begins atomic reference transactions.
//
// Not every readable reference store is writable. Implementations should only
// satisfy TransactionalStore when they can stage and commit reference updates
// atomically within that backend.
type TransactionalStore interface {
// BeginTransaction creates one new mutable transaction.
//
// Labels: Life-Parent.
BeginTransaction() (Transaction, error)
}