Class Satsolver::Transaction
In: satsolver.i
Parent: Object

Transaction represents the result of a successful (Solver.solve returning true) solver run.

The Transaction class contains a list of Steps, each representing a Solvable to install, update, or remove.

Constructor

There is no constructor defined for Transaction. Transactions are created by accessing the Solver result. See ‘Solver.transaction’.

Methods

[]   each   empty?   get   order!   size   sizechange  

Included Modules

Enumerable

Public Instance methods

[](p1)

Alias for get

Check if the transaction has any steps attached.

Order the transaction according to pre-requires

Ordering is done in-place.

flags can be TRANSACTION_KEEP_ORDERDATA

Return number of steps of this transaction

Return the size change of the installed system

This is how much disk space gets allocated/freed after the solver decisions are applied to the system.

[Validate]