Deepsolver
Public Member Functions
Deepsolver::OsIntegrity Class Reference

The class for the operating system state integrity verification. More...

List of all members.

Public Member Functions

 OsIntegrity (const AbstractPkgBackEnd &backend)
 The constructor.
bool verify (const PkgVector &pkgs) const
 Performs OS integrity verification.
virtual ~OsIntegrity ()
 The destructor.

Detailed Description

This class simulates real or modified operating system state and checks if there any integrity breaks. There are several types of possible problems: unmet requires, violated conflicts etc. The testing is performed by total checking of every package proposed to be installed with looking through its dependencies and ensuring that all of them are properly satisfied.


Constructor & Destructor Documentation

Deepsolver::OsIntegrity::OsIntegrity ( const AbstractPkgBackEnd backend) [inline]
Parameters:
[in]backendThe reference to a package back-end to perform testing with

Member Function Documentation

DEEPSOLVER_BEGIN_NAMESPACE bool OsIntegrity::verify ( const PkgVector &  pkgs) const
Parameters:
[in]pkgsThe set of packages representing OS state
Returns:
Non-zero if there are no breaks and zero otherwise