libzypp 17.31.1
zypp::RepoStatus::Impl Struct Reference

RepoStatus implementation. More...

Public Types

using Checksums = std::set< std::string >

Public Member Functions

void assignFromCtor (std::string &&checksum_r, Date &&timestamp_r)
 Assign data called from RepoStatus ctor (adds magic). More...
void inject (std::string &&checksum_r, Date &&timestamp_r)
 Inject raw data (no magic added). More...
void injectFrom (const Impl &rhs)
 Inject the raw data from rhs. More...
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). More...

Private Member Functions

Implclone () const
 clone for RWCOW_pointer More...

Private Attributes

Checksums _checksums
Date _timestamp
std::optional< std::string > _cachedchecksum


ImplrwcowClone (const Impl *rhs)

Detailed Description

RepoStatus implementation.

Definition at line 57 of file

Member Typedef Documentation

◆ Checksums

using zypp::RepoStatus::Impl::Checksums = std::set<std::string>

Definition at line 59 of file

Member Function Documentation

◆ assignFromCtor()

void zypp::RepoStatus::Impl::assignFromCtor ( std::string &&  checksum_r,
Date &&  timestamp_r 

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

◆ inject()

void zypp::RepoStatus::Impl::inject ( std::string &&  checksum_r,
Date &&  timestamp_r 

Inject raw data (no magic added).

Definition at line 80 of file

◆ injectFrom()

void zypp::RepoStatus::Impl::injectFrom ( const Impl rhs)

Inject the raw data from rhs.

Definition at line 92 of file

◆ empty()

bool zypp::RepoStatus::Impl::empty ( ) const

Definition at line 106 of file

◆ checksum()

std::string zypp::RepoStatus::Impl::checksum ( ) const

Definition at line 109 of file

◆ timestamp()

Date zypp::RepoStatus::Impl::timestamp ( ) const

Definition at line 129 of file

◆ dumpOn()

std::ostream & zypp::RepoStatus::Impl::dumpOn ( std::ostream &  str) const

Dump to log file (not to/from CookieFile).

Definition at line 133 of file

◆ clone()

Impl * zypp::RepoStatus::Impl::clone ( ) const

clone for RWCOW_pointer

Definition at line 145 of file

Friends And Related Function Documentation

◆ rwcowClone

Impl * rwcowClone ( const Impl rhs)

Member Data Documentation

◆ _checksums

Checksums zypp::RepoStatus::Impl::_checksums

Definition at line 137 of file

◆ _timestamp

Date zypp::RepoStatus::Impl::_timestamp

Definition at line 138 of file

◆ _cachedchecksum

std::optional<std::string> zypp::RepoStatus::Impl::_cachedchecksum

Definition at line 140 of file

The documentation for this struct was generated from the following file: