shithub: furgit

ref: 6e917f2b9b6b64721d046d66311aa64589e19d9f
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
}