blob: 5da0c43d6950ef603cae1f4cdd024f625a3369bd (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package files
import refstore "lindenii.org/go/furgit/ref/store"
// BeginTransaction creates one new files transaction.
//
//nolint:ireturn
func (store *Store) BeginTransaction() (refstore.Transaction, error) {
return &Transaction{
store: store,
ops: make([]queuedUpdate, 0, 8),
}, nil
}
|