ref: 803089a76171db1dd5b891fb6dfa1b7e7f3d50d2
dir: /refstore/files/batch_begin.go/
package files
import "codeberg.org/lindenii/furgit/refstore"
// BeginBatch creates one new files batch.
//
//nolint:ireturn
func (store *Store) BeginBatch() (refstore.Batch, error) {
return &Batch{
store: store,
ops: make([]txOp, 0, 8),
}, nil
}