RepoStatus implementation.
More...
|
void | assignFromCtor (std::string &&checksum_r, Date &×tamp_r) |
| Assign data called from RepoStatus ctor (adds magic).
|
|
void | inject (std::string &&checksum_r, Date &×tamp_r) |
| Inject raw data (no magic added).
|
|
void | injectFrom (const Impl &rhs) |
| Inject the raw data from rhs.
|
|
bool | empty () const |
|
std::string | checksum () const |
|
Date | timestamp () const |
|
std::ostream & | dumpOn (std::ostream &str) const |
| Dump to log file (not to/from CookieFile).
|
|
RepoStatus implementation.
Definition at line 57 of file RepoStatus.cc.
◆ Checksums
◆ assignFromCtor()
void zypp::RepoStatus::Impl::assignFromCtor |
( |
std::string && |
checksum_r, |
|
|
Date && |
timestamp_r |
|
) |
| |
|
inline |
Assign data called from RepoStatus ctor (adds magic).
\Note Changing magic will at once invalidate all solv file caches. Helpfull if solv file content must be refreshed (e.g. due to different repo2solv arguments) even if raw metadata are unchanged. Only values set from a RepoStatus ctor need magic to be added!
Definition at line 69 of file RepoStatus.cc.
◆ inject()
void zypp::RepoStatus::Impl::inject |
( |
std::string && |
checksum_r, |
|
|
Date && |
timestamp_r |
|
) |
| |
|
inline |
Inject raw data (no magic added).
Definition at line 80 of file RepoStatus.cc.
◆ injectFrom()
void zypp::RepoStatus::Impl::injectFrom |
( |
const Impl & |
rhs | ) |
|
|
inline |
◆ empty()
bool zypp::RepoStatus::Impl::empty |
( |
| ) |
const |
|
inline |
◆ checksum()
std::string zypp::RepoStatus::Impl::checksum |
( |
| ) |
const |
|
inline |
◆ timestamp()
Date zypp::RepoStatus::Impl::timestamp |
( |
| ) |
const |
|
inline |
◆ dumpOn()
std::ostream & zypp::RepoStatus::Impl::dumpOn |
( |
std::ostream & |
str | ) |
const |
|
inline |
Dump to log file (not to/from CookieFile).
Definition at line 133 of file RepoStatus.cc.
◆ clone()
Impl * zypp::RepoStatus::Impl::clone |
( |
| ) |
const |
|
inlineprivate |
◆ rwcowClone
◆ _checksums
◆ _timestamp
Date zypp::RepoStatus::Impl::_timestamp |
|
private |
◆ _cachedchecksum
std::optional<std::string> zypp::RepoStatus::Impl::_cachedchecksum |
|
mutableprivate |
The documentation for this struct was generated from the following file: