#include <librpmDb.h>
Public Member Functions | |
| DbDirInfo (const Pathname &root_r, const Pathname &dbPath_r) | |
| const Pathname & | root () const |
| const Pathname & | dbPath () const |
| const PathInfo & | dbDir () const |
| const PathInfo & | dbV4 () const |
| const PathInfo & | dbV3 () const |
| const PathInfo & | dbV3ToV4 () const |
| void | restat () |
| bool | illegalArgs () const |
| bool | usableArgs () const |
| bool | hasDbDir () const |
| bool | hasDbV4 () const |
| bool | hasDbV3 () const |
| bool | hasDbV3ToV4 () const |
Private Attributes | |
| Pathname | _root |
| Pathname | _dbPath |
| PathInfo | _dbDir |
| PathInfo | _dbV4 |
| PathInfo | _dbV3 |
| PathInfo | _dbV3ToV4 |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const DbDirInfo &obj) |
|
||||||||||||
|
For Constructor arguments see accessPath. On illegal arguments _dbDir is unset. |
|
|
database directory (unset on illegal constructor arguments) |
|
|
Directory that contains the rpmdb. |
|
|
rpmV3 database (_dbDir/packages.rpm) |
|
|
rpmV3 database backup created on conversion to rpmV4 (_dbDir/packages.rpm3) |
|
|
rpmV4 database (_dbDir/Packages) |
|
|
Whether dbDir directory exists. |
|
|
Whether dbV3 file exists. |
|
|
Whether dbV3ToV4 file exists. |
|
|
Whether dbV4 file exists. |
|
|
Whether constructor arguments were illegal. |
|
|
Restat all paths |
|
|
Root directory for all operations. |
|
|
Whether constructor arguments were llegal and dbDir either is a directory or may be created (path does not exist). |
|
||||||||||||
|
|
|
|
database directory (unset on illegal constructor arguments) |
|
|
Directory that contains the rpmdb. |
|
|
rpmV3 database (_dbDir/packages.rpm) |
|
|
rpmV3 database backup created on conversion to rpmV4 (_dbDir/packages.rpm3) |
|
|
rpmV4 database (_dbDir/Packages) |
|
|
Root directory for all operations. |
1.4.4