blob: cdd3bad113215b6c4583116f8381fc63848d0f5f (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package files
import refstore "codeberg.org/lindenii/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
}
|