libzypp 17.37.10

repomanager.h File Reference
`#include <utility>`
`#include <zypp/RepoManagerFlags.h>`
`#include <zypp/RepoManagerOptions.h>`
`#include <zypp/RepoStatus.h>`
`#include <zypp/repo/RepoException.h>`
`#include <zypp/repo/PluginRepoverification.h>`
`#include <zypp/ng/workflows/logichelpers.h>`
`#include <zypp-core/base/Gettext.h>`
`#include <zypp-core/base/DefaultIntegral>`
`#include <zypp-core/base/NonCopyable.h>`
`#include <zypp-core/fs/PathInfo.h>`
`#include <zypp-core/ui/progressdata.h>`
`#include <zypp-core/zyppng/base/Base>`
`#include <zypp-core/zyppng/base/zyppglobal.h>`
`#include <zypp-core/zyppng/pipelines/expected.h>`

Go to the source code of this file.

## Classes
struct | zyppng::RepoCollector
| Simple callback to collect the results. More...
class | zyppng::ServiceCollector
| Functor collecting ServiceInfos into a ServiceSet. More...
class | zyppng::RepoManager< ZyppContextRefType >
| The RepoManager class Provides knowledge and methods to maintain repo settings and metadata for a given context. More...
struct | zyppng::RepoManager< ZyppContextRefType >::MatchServiceAlias
| Functor thats filter RepoInfo by service which it belongs to. More...

## Namespaces
namespace | zyppng

## Typedefs
using | zyppng::RepoInfo = zypp::RepoInfo
using | zyppng::RepoStatus = zypp::RepoStatus
using | zyppng::RepoInfoList = zypp::RepoInfoList
using | zyppng::ServiceInfo = zypp::ServiceInfo
using | zyppng::RepoManagerOptions = zypp::RepoManagerOptions
using | zyppng::PluginRepoverification = zypp_private::repo::PluginRepoverification
using | zyppng::SyncRepoManager = RepoManager<SyncContextRef>
using | zyppng::SyncRepoManagerRef = RepoManagerRef<SyncContextRef>
using | zyppng::AsyncRepoManager = RepoManager<ContextRef>
using | zyppng::AsyncRepoManagerRef = RepoManagerRef<ContextRef>

## Functions
| zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS (Context)
| zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS (SyncContext)
| zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS (ProgressObserver)
| zyppng::ZYPP_FWD_DECL_TEMPL_TYPE_WITH_REFS_ARG1 (RepoManager, ZyppContextRefType)
bool | zyppng::isTmpRepo (const RepoInfo &info_r)
| Whether repo is not under RM control and provides its own methadata paths.
expected< void > | zyppng::assert_alias (const RepoInfo &info)
expected< void > | zyppng::assert_alias (const ServiceInfo &info)
template<class Iterator>
bool | zyppng::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 | zyppng::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 | zyppng::findAlias (const std::string &alias_r, Iterator begin_r, Iterator end_r)
| Find alias_r in repo/service container.
template<class Container>
Container::iterator | zyppng::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 | zyppng::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 | zyppng::filenameFromAlias (const std::string &alias_r, const std::string &stem_r)
| Generate a related filename from a repo/service infos alias.
expected< std::list< RepoInfo > > | zyppng::repositories_in_file (const zypp::Pathname &file)
| Reads RepoInfo's from a repo file.
expected< void > | zyppng::assert_urls (const RepoInfo &info)
expected< void > | zyppng::assert_url (const ServiceInfo &info)
expected< zypp::Pathname > | zyppng::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.
expected< zypp::Pathname > | zyppng::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.
expected< zypp::Pathname > | zyppng::packagescache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
| Calculates the packages cache path for a repository.
expected< zypp::Pathname > | zyppng::solv_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
| Calculates the solv cache path for a repository.
bool | zyppng::autoPruneInDir (const zypp::Pathname &path_r)
| bsc#1204956: Tweak to prevent auto pruning package caches.