Struct libalpm::Transaction [] [src]

pub struct Transaction(_);

A transaction of package operations

Consumes an Alpm instance as only 1 transaction can be performed at a time. Use commit or rollback to recover the Alpm instance.

Methods

impl Transaction
[src]

Returns the flags for the current transaction.

Gets packages added by the current transaction.

Gets packages removed by the current transaction.

Prepares a transaction for committing.

Commits the transaction and returns the alpm instance. TODO conflict type

Releases (discards) the transaction and returns the alpm instance.

Adds a system upgrade to this transaction.

Adds a new package to system in this transaction.

Removes a package from the system in this transaction.