shithub: furgit

ref: 1556cfb51d980ae8c5bf664ad69f3abd46f02386
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
}