shithub: furgit

ref: c8dd7d3b44c93a664dddc0c4619d336c6e13d2a8
dir: /refstore/files/transaction_queue.go/

View raw version
package files

func (tx *Transaction) queue(op queuedUpdate) error {
	err := (&refUpdateExecutor{store: tx.store}).validateQueuedUpdate(op)
	if err != nil {
		return err
	}

	tx.ops = append(tx.ops, op)

	return nil
}