#include <action.h>
Public Types | |
enum | Type { Install, ReInstall, Remove, Keep, Purge, SystemUpgrade } |
Public Member Functions | |
Token | token () |
Type | type () |
void | apply (package::Source &pkgs) |
bool | redundant (package::Source &pkgs) |
Action (Token t, Type a) | |
Public Attributes | |
Token | m_token |
Type | m_type |
void ept::core::package::Action::apply | ( | package::Source & | pkgs | ) | [inline] |
References ept::core::package::Source::db(), ept::core::package::Source::exists(), Install, Keep, ept::core::package::Source::lookupToken(), m_token, m_type, Purge, ReInstall, Remove, ept::core::AptDatabase::state(), and SystemUpgrade.
Referenced by TestAptAction::basic(), and TestAptAction::revert().
bool ept::core::package::Action::redundant | ( | package::Source & | pkgs | ) | [inline] |
Referenced by apply(), redundant(), and token().
Referenced by apply(), redundant(), and type().