1 2 3 4 5 6 7 8 9 10 11 12
package files func (tx *Transaction) Commit() error { executor := &refUpdateExecutor{store: tx.store} prepared, err := executor.prepareUpdates(tx.ops) if err != nil { return err } return executor.commitPreparedUpdates(prepared) }