binary version info More...
#include <cupt/cache/binaryversion.hpp>
Classes | |
| struct | RelationTypes |
| relation types between binary versions More... | |
Public Member Functions | |
| bool | isInstalled () const |
| is version installed? | |
| virtual bool | areHashesEqual (const shared_ptr< const Version > &other) const |
| determines file equality between two versions | |
Static Public Member Functions | |
| static shared_ptr< BinaryVersion > | parseFromFile (const Version::InitializationParameters &) |
| parse version | |
Public Attributes | |
| string | architecture |
| binary architecture | |
| uint32_t | installedSize |
| approximate size of unpacked file content in bytes | |
| string | sourcePackageName |
| source package name | |
| string | sourceVersionString |
| source version string | |
| bool | essential |
| has version 'essential' flag? | |
| RelationLine | relations [RelationTypes::Count] |
| relations with other binary versions | |
| vector< string > | provides |
| array of virtual package names | |
| string | shortDescription |
| short description | |
| string | longDescription |
| long description | |
| string | tags |
| tags | |
| FileRecord | file |
| Version::FileRecord. | |
binary version info
| virtual bool cupt::cache::BinaryVersion::areHashesEqual | ( | const shared_ptr< const Version > & | other | ) | const [virtual] |
determines file equality between two versions
| other | version to compare with |
true if hash sums of all files in the version match hash sums of all files in the other version, false otherwise Implements cupt::cache::Version.
1.7.6.1