libzypp  16.22.5
zypp::RepoInfo::Impl Struct Reference

RepoInfo implementation. More...

Public Member Functions

 Impl ()
 
 ~Impl ()
 
void setProbedType (const repo::RepoType &t) const
 
Pathname licenseTgz (const std::string &name_r) const
 Path to a license tarball in case it exists in the repo. More...
 
const
RepoVariablesReplacedUrlList
baseUrls () const
 
RepoVariablesReplacedUrlListbaseUrls ()
 
bool baseurl2dump () const
 
const
RepoVariablesReplacedUrlList
gpgKeyUrls () const
 
RepoVariablesReplacedUrlListgpgKeyUrls ()
 
const std::set< std::string > & contentKeywords () const
 
void addContent (const std::string &keyword_r)
 
bool hasContent () const
 
bool hasContent (const std::string &keyword_r) const
 
TriBool rawGpgCheck () const
 
TriBool rawRepoGpgCheck () const
 
TriBool rawPkgGpgCheck () const
 
void rawGpgCheck (TriBool val_r)
 
void rawRepoGpgCheck (TriBool val_r)
 
void rawPkgGpgCheck (TriBool val_r)
 
bool cfgGpgCheck () const
 
TriBool cfgRepoGpgCheck () const
 
TriBool cfgPkgGpgCheck () const
 
void metadataPath (Pathname new_r)
 
void packagesPath (Pathname new_r)
 
bool usesAutoMethadataPaths () const
 
Pathname metadataPath () const
 
Pathname packagesPath () const
 
TriBool internalValidRepoSignature () const
 Signature check result needs to be stored/retrieved from _metadataPath. More...
 
void internalSetValidRepoSignature (TriBool value_r)
 
bool internalUnsignedConfirmed () const
 We definitely have a symlink pointing to "indeterminate" (for repoGpgCheckIsMandatory)? I.e. More...
 
bool triBoolFromPath (const Pathname &path_r, TriBool &ret_r) const
 
TriBool triBoolFromPath (const Pathname &path_r) const
 

Public Attributes

TriBool keeppackages
 
RepoVariablesReplacedUrl _mirrorListUrl
 
bool _mirrorListForceMetalink
 
repo::RepoType type
 
Pathname path
 
std::string service
 
std::string targetDistro
 
DefaultIntegral< unsigned,
defaultPriority
priority
 
bool emptybaseurls
 
repo::RepoVariablesUrlReplacer replacer
 

Static Public Attributes

static const unsigned defaultPriority = 99
 
static const unsigned noPriority = unsigned(-1)
 

Private Member Functions

Implclone () const
 clone for RWCOW_pointer More...
 

Private Attributes

TriBool _rawGpgCheck
 default gpgcheck behavior: Y/N/ZConf More...
 
TriBool _rawRepoGpgCheck
 need to check repo sign.: Y/N/(ZConf(Y/N/gpgCheck)) More...
 
TriBool _rawPkgGpgCheck
 need to check pkg sign.: Y/N/(ZConf(Y/N/gpgCheck)) More...
 
TriBool _validRepoSignature
 have signed and valid repo metadata More...
 
Pathname _metadataPath
 
Pathname _packagesPath
 
RepoVariablesReplacedUrlList _baseUrls
 
std::pair< FalseBool, std::set
< std::string > > 
_keywords
 
RepoVariablesReplacedUrlList _gpgKeyUrls
 

Friends

ImplrwcowClone (const Impl *rhs)
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const RepoInfo::Impl &obj)
 

Detailed Description

RepoInfo implementation.

Definition at line 44 of file RepoInfo.cc.

Constructor & Destructor Documentation

zypp::RepoInfo::Impl::Impl ( )
inline

Definition at line 46 of file RepoInfo.cc.

zypp::RepoInfo::Impl::~Impl ( )
inline

Definition at line 57 of file RepoInfo.cc.

Member Function Documentation

void zypp::RepoInfo::Impl::setProbedType ( const repo::RepoType t) const
inline

Definition at line 64 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::licenseTgz ( const std::string &  name_r) const
inline

Path to a license tarball in case it exists in the repo.

Definition at line 76 of file RepoInfo.cc.

const RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::baseUrls ( ) const
inline

Definition at line 101 of file RepoInfo.cc.

RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::baseUrls ( )
inline

Definition at line 114 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::baseurl2dump ( ) const
inline

Definition at line 117 of file RepoInfo.cc.

const RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::gpgKeyUrls ( ) const
inline

Definition at line 121 of file RepoInfo.cc.

RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::gpgKeyUrls ( )
inline

Definition at line 124 of file RepoInfo.cc.

const std::set<std::string>& zypp::RepoInfo::Impl::contentKeywords ( ) const
inline

Definition at line 128 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::addContent ( const std::string &  keyword_r)
inline

Definition at line 131 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::hasContent ( ) const
inline

Definition at line 134 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::hasContent ( const std::string &  keyword_r) const
inline

Definition at line 179 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::internalValidRepoSignature ( ) const
inline

Signature check result needs to be stored/retrieved from _metadataPath.

Don't call them from outside validRepoSignature/setValidRepoSignature

Definition at line 186 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::internalSetValidRepoSignature ( TriBool  value_r)
inline

Definition at line 200 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::internalUnsignedConfirmed ( ) const
inline

We definitely have a symlink pointing to "indeterminate" (for repoGpgCheckIsMandatory)? I.e.

user accepted the unsigned repo in Downloader. A test whether internalValidRepoSignature is indeterminate would include not yet checked repos, which is unwanted here.

Definition at line 222 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::triBoolFromPath ( const Pathname &  path_r,
TriBool ret_r 
) const
inline

Definition at line 228 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::triBoolFromPath ( const Pathname &  path_r) const
inline

Definition at line 254 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::rawGpgCheck ( ) const
inline

Definition at line 265 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::rawRepoGpgCheck ( ) const
inline

Definition at line 266 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::rawPkgGpgCheck ( ) const
inline

Definition at line 267 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::rawGpgCheck ( TriBool  val_r)
inline

Definition at line 269 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::rawRepoGpgCheck ( TriBool  val_r)
inline

Definition at line 270 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::rawPkgGpgCheck ( TriBool  val_r)
inline

Definition at line 271 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::cfgGpgCheck ( ) const
inline

Definition at line 273 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::cfgRepoGpgCheck ( ) const
inline

Definition at line 275 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::cfgPkgGpgCheck ( ) const
inline

Definition at line 277 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::metadataPath ( Pathname  new_r)
inline

Definition at line 291 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::packagesPath ( Pathname  new_r)
inline

Definition at line 294 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::usesAutoMethadataPaths ( ) const
inline

Definition at line 297 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::metadataPath ( ) const
inline

Definition at line 300 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::packagesPath ( ) const
inline

Definition at line 307 of file RepoInfo.cc.

Impl* zypp::RepoInfo::Impl::clone ( ) const
inlineprivate

clone for RWCOW_pointer

Definition at line 329 of file RepoInfo.cc.

Friends And Related Function Documentation

Impl* rwcowClone ( const Impl rhs)
friend
std::ostream & operator<< ( std::ostream &  str,
const RepoInfo::Impl obj 
)
related

Stream output

Definition at line 335 of file RepoInfo.cc.

Member Data Documentation

const unsigned zypp::RepoInfo::Impl::defaultPriority = 99
static

Definition at line 61 of file RepoInfo.cc.

const unsigned zypp::RepoInfo::Impl::noPriority = unsigned(-1)
static

Definition at line 62 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_rawGpgCheck
private

default gpgcheck behavior: Y/N/ZConf

Definition at line 260 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_rawRepoGpgCheck
private

need to check repo sign.: Y/N/(ZConf(Y/N/gpgCheck))

Definition at line 261 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_rawPkgGpgCheck
private

need to check pkg sign.: Y/N/(ZConf(Y/N/gpgCheck))

Definition at line 262 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_validRepoSignature
private

have signed and valid repo metadata

Definition at line 281 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::keeppackages

Definition at line 283 of file RepoInfo.cc.

RepoVariablesReplacedUrl zypp::RepoInfo::Impl::_mirrorListUrl

Definition at line 284 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::_mirrorListForceMetalink

Definition at line 285 of file RepoInfo.cc.

repo::RepoType zypp::RepoInfo::Impl::type

Definition at line 286 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::path

Definition at line 287 of file RepoInfo.cc.

std::string zypp::RepoInfo::Impl::service

Definition at line 288 of file RepoInfo.cc.

std::string zypp::RepoInfo::Impl::targetDistro

Definition at line 289 of file RepoInfo.cc.

DefaultIntegral<unsigned,defaultPriority> zypp::RepoInfo::Impl::priority

Definition at line 314 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::emptybaseurls
mutable

Definition at line 315 of file RepoInfo.cc.

repo::RepoVariablesUrlReplacer zypp::RepoInfo::Impl::replacer

Definition at line 316 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::_metadataPath
private

Definition at line 319 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::_packagesPath
private

Definition at line 320 of file RepoInfo.cc.

RepoVariablesReplacedUrlList zypp::RepoInfo::Impl::_baseUrls
mutableprivate

Definition at line 322 of file RepoInfo.cc.

std::pair<FalseBool, std::set<std::string> > zypp::RepoInfo::Impl::_keywords
mutableprivate

Definition at line 323 of file RepoInfo.cc.

RepoVariablesReplacedUrlList zypp::RepoInfo::Impl::_gpgKeyUrls
private

Definition at line 325 of file RepoInfo.cc.


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