source version info
More...
#include <cupt/cache/sourceversion.hpp>
|
virtual bool | areHashesEqual (const Version *other) const |
| determines file equality between two versions More...
|
|
| Version () |
| constructor
|
|
virtual | ~Version () |
| destructor
|
|
virtual bool | areHashesEqual (const Version *other) const =0 |
| determines file equality between two versions More...
|
|
bool | isVerified () const |
| does version have at least one verified Source?
|
|
vector< DownloadRecord > | getDownloadInfo () const |
| gets list of available download records for version
|
|
bool | operator< (const Version &) const |
| less-than operator More...
|
|
|
ArchitecturedRelationLine | relations [RelationTypes::Count] |
| relations
|
|
vector< FileRecord > | files [FileParts::Count] |
| Version::FileRecord s.
|
|
vector< string > | uploaders |
| array of uploaders
|
|
vector< string > | binaryPackageNames |
| array of binary package names, which are built out of
|
|
vector< string > | architectures |
| array of binary architectures on which this source version may be built
|
|
vector< Source > | sources |
| list of sources
|
|
string | packageName |
| package name
|
|
Priorities::Type | priority |
| priority
|
|
string | section |
| section
|
|
string | maintainer |
| maintainer (usually name and mail address)
|
|
string | versionString |
| version
|
|
map< string, string > * | others |
| unknown fields in the form 'name' -> 'value', NULL by default
|
|
|
static bool | parseRelations |
| enables parsing relation fields in versions, true by default
|
|
static bool | parseInfoOnly |
| enables parsing info-only fields in versions, true by default
|
|
static bool | parseOthers |
| enables parsing unknown fields in versions, false by default
|
|
◆ areHashesEqual()
virtual bool cupt::cache::SourceVersion::areHashesEqual |
( |
const Version * |
other | ) |
const |
|
virtual |
determines file equality between two versions
- Parameters
-
other | version to compare with |
- Returns
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.
The documentation for this struct was generated from the following file: