blob: 8a061f54fbb998dd504896e25052a81e1971334d (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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)
}
|