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