aboutsummaryrefslogtreecommitdiff
path: root/refstore/files/transaction_queue.go
blob: 0000bc2779ebad81bfbe5d20e72e9a61f4cee994 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package files

func (tx *Transaction) queue(op txOp) error {
	err := tx.validateOp(op)
	if err != nil {
		return err
	}

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

	return nil
}