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