libzypp 17.34.0
repomanagerbase_p.h File Reference
#include <zypp/RepoManagerOptions.h>
#include <zypp/RepoStatus.h>
#include <zypp/repo/RepoException.h>
#include <zypp-core/base/Gettext.h>
#include <utility>
#include <zypp-core/base/DefaultIntegral>
#include <zypp-core/base/NonCopyable.h>
#include <zypp-core/fs/PathInfo.h>
#include <zypp-core/ui/progressdata.h>
Include dependency graph for repomanagerbase_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  zypp::RepoCollector
 Simple callback to collect the results. More...
 
class  zypp::ServiceCollector
 Functor collecting ServiceInfos into a ServiceSet. More...
 
struct  zypp::RepoManagerBaseImpl
 
struct  zypp::RepoManagerBaseImpl::MatchServiceAlias
 Functor thats filter RepoInfo by service which it belongs to. More...
 

Namespaces

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.
 

Macros

#define OPT_PROGRESS   const ProgressData::ReceiverFnc & = ProgressData::ReceiverFnc()
 

Functions

bool zypp::isTmpRepo (const RepoInfo &info_r)
 Whether repo is not under RM control and provides its own methadata paths.
 
void zypp::assert_alias (const RepoInfo &info)
 
void zypp::assert_alias (const ServiceInfo &info)
 
template<class Iterator >
bool zypp::foundAliasIn (const std::string &alias_r, Iterator begin_r, Iterator end_r)
 Check if alias_r is present in repo/service container.
 
template<class Container >
bool zypp::foundAliasIn (const std::string &alias_r, const Container &cont_r)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class Iterator >
Iterator zypp::findAlias (const std::string &alias_r, Iterator begin_r, Iterator end_r)
 Find alias_r in repo/service container.
 
template<class Container >
Container::iterator zypp::findAlias (const std::string &alias_r, Container &cont_r)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<class Container >
Container::const_iterator zypp::findAlias (const std::string &alias_r, const Container &cont_r)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
std::string zypp::filenameFromAlias (const std::string &alias_r, const std::string &stem_r)
 Generate a related filename from a repo/service infos alias.
 
std::list< RepoInfozypp::repositories_in_file (const Pathname &file)
 Reads RepoInfo's from a repo file.
 
std::list< RepoInfozypp::repositories_in_dir (const Pathname &dir)
 List of RepoInfo's from a directory.
 
void zypp::assert_urls (const RepoInfo &info)
 
void zypp::assert_url (const ServiceInfo &info)
 
Pathname zypp::rawcache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the raw cache path for a repository, this is usually /var/cache/zypp/alias.
 
Pathname zypp::rawproductdata_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the raw product metadata path for a repository, this is inside the raw cache dir, plus an optional path where the metadata is.
 
Pathname zypp::packagescache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the packages cache path for a repository.
 
Pathname zypp::solv_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the solv cache path for a repository.
 
bool zypp::autoPruneInDir (const Pathname &path_r)
 bsc#1204956: Tweak to prevent auto pruning package caches.
 

Macro Definition Documentation

◆ OPT_PROGRESS

#define OPT_PROGRESS   const ProgressData::ReceiverFnc & = ProgressData::ReceiverFnc()

Definition at line 29 of file repomanagerbase_p.h.