shithub: furgit

ref: fb9eb058f1c9b7cb26f33bbe679a85f530566641
dir: /ref/store/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
}