blob: 8f5c32cde625a6534a2838d4f322c205b34e4e36 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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.
BeginTransaction() (Transaction, error)
}
|