libzypp: zypp/RepoManager.h Source File

libzypp 17.38.14

RepoManager.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#ifndef ZYPP_REPOMANAGER_H
13#define ZYPP_REPOMANAGER_H
14
15#include <iosfwd>
16#include <list>
17
18#include <zypp-core/base/PtrTypes.h>
19#include <zypp-core/base/Iterator.h>
20#include <zypp-core/base/Flags.h>
21
22#include <zypp-core/Pathname.h>
23#include <zypp/ZConfig.h>
24#include <zypp/RepoInfo.h>
25#include <zypp/repo/RepoException.h>
26#include <zypp/repo/RepoType.h>
27#include <zypp/repo/ServiceType.h>
28#include <zypp/ServiceInfo.h>
29#include <zypp/RepoStatus.h>
30#include <zypp/RepoManagerFlags.h>
31#include <zypp/RepoManagerOptions.h>
32#include <utility>
33#include <zypp-core/ui/ProgressData>
34#include <zypp-core/TriBool.h>
35
37namespace zypp
38{
39
53 std::list<RepoInfo> readRepoFile(const Url & repo_file) ZYPP_API;
54
59 class ZYPP_API RepoManager
60 {
61 friend std::ostream & operator<<( std::ostream & str, const RepoManager & obj );
62
63 public:
65 struct Impl;
66
68 using ServiceSet = std::set<ServiceInfo>;
69 using ServiceConstIterator = ServiceSet::const_iterator;
70 using ServiceSizeType = ServiceSet::size_type;
71
73 using RepoSet = std::set<RepoInfo>;
74 using RepoConstIterator = RepoSet::const_iterator;
75 using RepoSizeType = RepoSet::size_type;
76
77 public:
78 RepoManager( RepoManagerOptions options = RepoManagerOptions() );
80 ~RepoManager();
81
82 using RawMetadataRefreshPolicy = RepoManagerFlags::RawMetadataRefreshPolicy;
83 static constexpr RawMetadataRefreshPolicy RefreshIfNeeded = RepoManagerFlags::RefreshIfNeeded;
84 static constexpr RawMetadataRefreshPolicy RefreshForced = RepoManagerFlags::RefreshForced;
85 static constexpr RawMetadataRefreshPolicy RefreshIfNeededIgnoreDelay = RepoManagerFlags::RefreshIfNeededIgnoreDelay;
86
87 using CacheBuildPolicy = RepoManagerFlags::CacheBuildPolicy;
88 static constexpr CacheBuildPolicy BuildIfNeeded = CacheBuildPolicy::BuildIfNeeded;
89 static constexpr CacheBuildPolicy BuildForced = CacheBuildPolicy::BuildForced;
90
92 using RefreshServiceBit = RepoManagerFlags::RefreshServiceBit;
93 static constexpr RefreshServiceBit RefreshService_restoreStatus = RefreshServiceBit::RefreshService_restoreStatus;
94 static constexpr RefreshServiceBit RefreshService_forceRefresh = RefreshServiceBit::RefreshService_forceRefresh;
95
96 using RefreshServiceFlags = RepoManagerFlags::RefreshServiceFlags;
97
99 using RefreshServiceOptions = RepoManagerFlags::RefreshServiceFlags;
100
108 bool repoEmpty() const;
109 RepoSizeType repoSize() const;
110 RepoConstIterator repoBegin() const;
111 RepoConstIterator repoEnd() const;
112 Iterable<RepoConstIterator> repos() const;
113
115 std::list<RepoInfo> knownRepositories() const
116 { return std::list<RepoInfo>(repoBegin(),repoEnd()); }
117
119 RepoInfo getRepo( const std::string & alias ) const;
121 RepoInfo getRepo( const RepoInfo & info_r ) const
122 { return getRepo( info_r.alias() ); }
123
125 bool hasRepo( const std::string & alias ) const;
127 bool hasRepo( const RepoInfo & info_r ) const
128 { return hasRepo( info_r.alias() ); }
129
133 static std::string makeStupidAlias( const Url & url_r = Url() );
135
139 RepoStatus metadataStatus( const RepoInfo &info ) const;
140
141 using RefreshCheckStatus = RepoManagerFlags::RefreshCheckStatus;
142 static constexpr RefreshCheckStatus REFRESH_NEEDED = RefreshCheckStatus::REFRESH_NEEDED;
143 static constexpr RefreshCheckStatus REPO_UP_TO_DATE = RefreshCheckStatus::REPO_UP_TO_DATE;
144 static constexpr RefreshCheckStatus REPO_CHECK_DELAYED = RefreshCheckStatus::REPO_CHECK_DELAYED;
145
200 RefreshCheckStatus checkIfToRefreshMetadata( const RepoInfo &info,
201 const Url &url,
202 RawMetadataRefreshPolicy policy = RefreshIfNeeded);
203
211 RefreshCheckStatus checkIfToRefreshMetadata( const RepoInfo &info,
212 const zypp::MirroredOrigin &origin,
213 RawMetadataRefreshPolicy policy = RefreshIfNeeded);
214
225 Pathname metadataPath( const RepoInfo &info ) const;
226
227
238 Pathname packagesPath( const RepoInfo &info ) const;
239
240
256 void refreshMetadata( const RepoInfo &info,
257 RawMetadataRefreshPolicy policy = RefreshIfNeeded,
258 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
259
268 void cleanMetadata( const RepoInfo &info,
269 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
270
279 void cleanPackages( const RepoInfo &info,
280 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
281
285 RepoStatus cacheStatus( const RepoInfo &info ) const;
286
306 void buildCache( const RepoInfo &info,
307 CacheBuildPolicy policy = BuildIfNeeded,
308 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
309
322 void cleanCache( const RepoInfo &info,
323 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
324
330 bool isCached( const RepoInfo &info ) const;
331
332
342 void loadFromCache( const RepoInfo &info,
343 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
344
352 void cleanCacheDirGarbage( const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
353
361 repo::RepoType probe( const Url & url, const Pathname & path ) const;
365 repo::RepoType probe( const Url & url ) const;
366
367
382 void addRepository( const RepoInfo &info,
383 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
385 void addRepository( const RepoInfo &info, const TriBool & forcedProbe,
386 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
399 void addRepositories( const Url &url,
400 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
406 void removeRepository( const RepoInfo & info,
407 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
408
418 void modifyRepository( const std::string &alias,
419 const RepoInfo & newinfo,
420 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
422 void modifyRepository( const RepoInfo & newinfo,
423 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() )
424 { modifyRepository( newinfo.alias(), newinfo, progressrcv ); }
425
439 RepoInfo getRepositoryInfo( const std::string &alias,
440 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
441
461 RepoInfo getRepositoryInfo( const Url & url,
462 const url::ViewOption & urlview = url::ViewOption::DEFAULTS,
463 const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() );
464
465
473
478 bool serviceEmpty() const;
479
485 ServiceSizeType serviceSize() const;
486
492 ServiceConstIterator serviceBegin() const;
493
498 ServiceConstIterator serviceEnd() const;
499
501 Iterable<ServiceConstIterator> services() const;
502
504 std::list<ServiceInfo> knownServices() const
505 { return std::list<ServiceInfo>(serviceBegin(),serviceEnd()); }
506
513 ServiceInfo getService( const std::string & alias ) const;
514
516 bool hasService( const std::string & alias ) const;
518
522 repo::ServiceType probeService( const Url &url ) const;
523
532 void addService( const std::string & alias, const Url& url );
533
541 void addService( const ServiceInfo & service );
542
551 void removeService( const std::string & alias );
553 void removeService( const ServiceInfo & service );
554
555
561 void refreshServices( const RefreshServiceOptions & options_r = RefreshServiceOptions() );
562
571 void refreshService( const std::string & alias, const RefreshServiceOptions & options_r = RefreshServiceOptions() );
573 void refreshService( const ServiceInfo & service, const RefreshServiceOptions & options_r = RefreshServiceOptions() );
574
591 void modifyService( const std::string & oldAlias, const ServiceInfo & service );
593 void modifyService( const ServiceInfo & service )
594 { modifyService( service.alias(), service ); }
595
600 void refreshGeoIp ( const RepoInfo::url_set &urls );
601
602 private:
606 struct MatchServiceAlias
607 {
608 public:
609 MatchServiceAlias( std::string alias_ ) : alias(std::move(alias_)) {}
610 bool operator()( const RepoInfo & info ) const
611 { return info.service() == alias; }
612 private:
613 std::string alias;
614 };
615
616 public:
617
650 template<typename OutputIterator>
651 void getRepositoriesInService( const std::string & alias,
652 OutputIterator out ) const
653 {
654 MatchServiceAlias filter(alias);
655
656 std::copy( boost::make_filter_iterator( filter, repoBegin(), repoEnd() ),
657 boost::make_filter_iterator( filter, repoEnd(), repoEnd() ),
658 out);
659 }
660
661 private:
663 RWCOW_pointer<Impl> _pimpl;
664 };
665
666
668 std::ostream & operator<<( std::ostream & str, const RepoManager & obj ) ZYPP_API;
669
671 inline Iterable<RepoManager::RepoConstIterator> RepoManager::repos() const
672 { return makeIterable( repoBegin(), repoEnd() ); }
673
675 inline Iterable<RepoManager::ServiceConstIterator> RepoManager::services() const
676 { return makeIterable( serviceBegin(), serviceEnd() ); }
677
679} // namespace zypp
681#endif // ZYPP2_REPOMANAGER_H
Flags.h
Iterator.h
Pathname.h
PtrTypes.h
RepoException.h
RepoInfo.h
RepoManagerFlags.h
RepoManagerOptions.h
RepoStatus.h
RepoType.h
ServiceInfo.h
ServiceType.h
TriBool.h
ZConfig.h
zypp::Iterable
Definition Iterable.h:37
zypp::MirroredOrigin
Manages a data source characterized by an authoritative URL and a list of mirror URLs.
Definition MirroredOrigin.h:170
zypp::ProgressData::ReceiverFnc
function< bool(const ProgressData &)> ReceiverFnc
Most simple version of progress reporting The percentage in most cases.
Definition progressdata.h:140
zypp::RepoInfo
What is known about a repository.
Definition RepoInfo.h:72
zypp::RepoInfo::service
std::string service() const
Gets name of the service to which this repository belongs or empty string if it has been added manual...
Definition RepoInfo.cc:882
zypp::RepoInfo::url_set
std::list< Url > url_set
Definition RepoInfo.h:108
zypp::RepoManager
creates and provides information about known sources.
Definition RepoManager.h:60
zypp::RepoManager::hasRepo
bool hasRepo(const std::string &alias) const
Return whether there is a known repository for alias.
Definition RepoManager.cc:104
zypp::RepoManager::REPO_UP_TO_DATE
static constexpr RefreshCheckStatus REPO_UP_TO_DATE
repository not changed
Definition RepoManager.h:143
zypp::RepoManager::cleanCacheDirGarbage
void cleanCacheDirGarbage(const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Remove any subdirectories of cache directories which no longer belong to any of known repositories.
Definition RepoManager.cc:174
zypp::RepoManager::cleanMetadata
void cleanMetadata(const RepoInfo &info, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Clean local metadata.
Definition RepoManager.cc:149
zypp::RepoManager::RefreshIfNeeded
static constexpr RawMetadataRefreshPolicy RefreshIfNeeded
Definition RepoManager.h:83
zypp::RepoManager::getRepo
RepoInfo getRepo(const RepoInfo &info_r) const
Definition RepoManager.h:121
zypp::RepoManager::RefreshIfNeededIgnoreDelay
static constexpr RawMetadataRefreshPolicy RefreshIfNeededIgnoreDelay
Definition RepoManager.h:85
zypp::RepoManager::ServiceConstIterator
ServiceSet::const_iterator ServiceConstIterator
Definition RepoManager.h:69
zypp::RepoManager::RefreshService_restoreStatus
static constexpr RefreshServiceBit RefreshService_restoreStatus
Definition RepoManager.h:93
zypp::RepoManager::BuildForced
static constexpr CacheBuildPolicy BuildForced
Definition RepoManager.h:89
zypp::RepoManager::isCached
bool isCached(const RepoInfo &info) const
Whether a repository exists in cache.
Definition RepoManager.cc:168
zypp::RepoManager::hasRepo
bool hasRepo(const RepoInfo &info_r) const
Definition RepoManager.h:127
zypp::RepoManager::getRepo
RepoInfo getRepo(const std::string &alias) const
Find RepoInfo by alias or return RepoInfo::noRepo.
Definition RepoManager.cc:101
zypp::RepoManager::_pimpl
RWCOW_pointer< Impl > _pimpl
Pointer to implementation.
Definition RepoManager.h:663
zypp::RepoManager::knownServices
std::list< ServiceInfo > knownServices() const
List of known services.
Definition RepoManager.h:504
zypp::RepoManager::RawMetadataRefreshPolicy
RepoManagerFlags::RawMetadataRefreshPolicy RawMetadataRefreshPolicy
Definition RepoManager.h:82
zypp::RepoManager::cleanCache
void cleanCache(const RepoInfo &info, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
clean local cache
Definition RepoManager.cc:165
zypp::RepoManager::addRepository
void addRepository(const RepoInfo &info, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Adds a repository to the list of known repositories.
Definition RepoManager.cc:197
zypp::RepoManager::repoEmpty
bool repoEmpty() const
Definition RepoManager.cc:89
zypp::RepoManager::metadataPath
Pathname metadataPath(const RepoInfo &info) const
Path where the metadata is downloaded and kept.
Definition RepoManager.cc:136
zypp::RepoManager::RefreshService_forceRefresh
static constexpr RefreshServiceBit RefreshService_forceRefresh
Definition RepoManager.h:94
zypp::RepoManager::ServiceSizeType
ServiceSet::size_type ServiceSizeType
Definition RepoManager.h:70
zypp::RepoManager::RefreshServiceFlags
RepoManagerFlags::RefreshServiceFlags RefreshServiceFlags
Definition RepoManager.h:96
zypp::RepoManager::packagesPath
Pathname packagesPath(const RepoInfo &info) const
Path where the rpm packages are downloaded and kept.
Definition RepoManager.cc:139
zypp::RepoManager::cacheStatus
RepoStatus cacheStatus(const RepoInfo &info) const
Status of metadata cache.
Definition RepoManager.cc:155
zypp::RepoManager::addRepositories
void addRepositories(const Url &url, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Adds repositores from a repo file to the list of known repositories.
Definition RepoManager.cc:200
zypp::RepoManager::refreshMetadata
void refreshMetadata(const RepoInfo &info, RawMetadataRefreshPolicy policy=RefreshIfNeeded, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Refresh local raw cache.
Definition RepoManager.cc:142
zypp::RepoManager::REFRESH_NEEDED
static constexpr RefreshCheckStatus REFRESH_NEEDED
refresh is needed
Definition RepoManager.h:142
zypp::RepoManager::serviceEnd
ServiceConstIterator serviceEnd() const
Iterator to place behind last service in internal storage.
Definition RepoManager.cc:236
zypp::RepoManager::CacheBuildPolicy
RepoManagerFlags::CacheBuildPolicy CacheBuildPolicy
Definition RepoManager.h:87
zypp::RepoManager::REPO_CHECK_DELAYED
static constexpr RefreshCheckStatus REPO_CHECK_DELAYED
refresh is delayed due to settings
Definition RepoManager.h:144
zypp::RepoManager::RefreshForced
static constexpr RawMetadataRefreshPolicy RefreshForced
Definition RepoManager.h:84
zypp::RepoManager::serviceBegin
ServiceConstIterator serviceBegin() const
Iterator to first service in internal storage.
Definition RepoManager.cc:233
zypp::RepoManager::RefreshCheckStatus
RepoManagerFlags::RefreshCheckStatus RefreshCheckStatus
Definition RepoManager.h:141
zypp::RepoManager::modifyService
void modifyService(const ServiceInfo &service)
Definition RepoManager.h:593
zypp::RepoManager::repoSize
RepoSizeType repoSize() const
Definition RepoManager.cc:92
zypp::RepoManager::modifyRepository
void modifyRepository(const std::string &alias, const RepoInfo &newinfo, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Modify repository attributes.
Definition RepoManager.cc:210
zypp::RepoManager::services
Iterable< ServiceConstIterator > services() const
Iterate the known services.
Definition RepoManager.h:675
zypp::RepoManager::removeRepository
void removeRepository(const RepoInfo &info, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Remove the best matching repository from known repos list.
Definition RepoManager.cc:203
zypp::RepoManager::modifyRepository
void modifyRepository(const RepoInfo &newinfo, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Definition RepoManager.h:422
zypp::RepoManager::BuildIfNeeded
static constexpr CacheBuildPolicy BuildIfNeeded
Definition RepoManager.h:88
zypp::RepoManager::RefreshServiceBit
RepoManagerFlags::RefreshServiceBit RefreshServiceBit
Flags for tuning RefreshService.
Definition RepoManager.h:92
zypp::RepoManager::checkIfToRefreshMetadata
RefreshCheckStatus checkIfToRefreshMetadata(const RepoInfo &info, const Url &url, RawMetadataRefreshPolicy policy=RefreshIfNeeded)
Checks whether to refresh metadata for specified repository and url.
Definition RepoManager.cc:133
zypp::RepoManager::RepoSizeType
RepoSet::size_type RepoSizeType
Definition RepoManager.h:75
zypp::RepoManager::knownRepositories
std::list< RepoInfo > knownRepositories() const
List of known repositories.
Definition RepoManager.h:115
zypp::RepoManager::repoBegin
RepoConstIterator repoBegin() const
Definition RepoManager.cc:95
zypp::RepoManager::RepoSet
std::set< RepoInfo > RepoSet
RepoInfo typedefs.
Definition RepoManager.h:73
zypp::RepoManager::repos
Iterable< RepoConstIterator > repos() const
Iterate the known repositories.
Definition RepoManager.h:671
zypp::RepoManager::buildCache
void buildCache(const RepoInfo &info, CacheBuildPolicy policy=BuildIfNeeded, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Refresh local cache.
Definition RepoManager.cc:158
zypp::RepoManager::RefreshServiceOptions
RepoManagerFlags::RefreshServiceFlags RefreshServiceOptions
Options tuning RefreshService.
Definition RepoManager.h:99
zypp::RepoManager::RepoManager
RepoManager(RepoManagerOptions options=RepoManagerOptions())
Definition repomanager.cc:238
zypp::RepoManager::getRepositoriesInService
void getRepositoriesInService(const std::string &alias, OutputIterator out) const
fill to output iterator repositories in service name.
Definition RepoManager.h:651
zypp::RepoManager::loadFromCache
void loadFromCache(const RepoInfo &info, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Load resolvables into the pool.
Definition RepoManager.cc:171
zypp::RepoManager::cleanPackages
void cleanPackages(const RepoInfo &info, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
Clean local package cache.
Definition RepoManager.cc:152
zypp::RepoManager::repoEnd
RepoConstIterator repoEnd() const
Definition RepoManager.cc:98
zypp::RepoManager::modifyService
void modifyService(const std::string &oldAlias, const ServiceInfo &service)
Modifies service file (rewrites it with new values) and underlying repositories if needed.
Definition RepoManager.cc:269
zypp::RepoManager::RepoConstIterator
RepoSet::const_iterator RepoConstIterator
Definition RepoManager.h:74
zypp::RepoManager::probe
repo::RepoType probe(const Url &url, const Pathname &path) const
Probe repo metadata type.
Definition RepoManager.cc:177
zypp::RepoManager::ServiceSet
std::set< ServiceInfo > ServiceSet
ServiceInfo typedefs.
Definition RepoManager.h:68
zypp::RepoStatus
Track changing files or directories.
Definition RepoStatus.h:41
zypp::ServiceInfo
Service data.
Definition ServiceInfo.h:37
zypp::Url
Url manipulation class.
Definition Url.h:93
zypp::filesystem::Pathname
Pathname.
Definition Pathname.h:48
zypp::repo::RepoInfoBase::alias
std::string alias() const
unique identifier for this source.
Definition RepoInfoBase.cc:110
zypp::TriBool
boost::logic::tribool TriBool
3-state boolean logic (true, false and indeterminate).
Definition String.h:31
std
Definition ansi.h:855
str
String related utilities and Regular expression matching.
zypp::RepoManagerFlags::RefreshCheckStatus
RefreshCheckStatus
Possibly return state of RepoManager::checkIfToRefreshMetadata function.
Definition RepoManagerFlags.h:47
zypp::RepoManagerFlags::CacheBuildPolicy
CacheBuildPolicy
Definition RepoManagerFlags.h:28
zypp::RepoManagerFlags::RawMetadataRefreshPolicy
RawMetadataRefreshPolicy
Definition RepoManagerFlags.h:21
zypp::RepoManagerFlags::RefreshIfNeededIgnoreDelay
@ RefreshIfNeededIgnoreDelay
Definition RepoManagerFlags.h:24
zypp::RepoManagerFlags::RefreshForced
@ RefreshForced
Definition RepoManagerFlags.h:23
zypp::RepoManagerFlags::RefreshIfNeeded
@ RefreshIfNeeded
Definition RepoManagerFlags.h:22
zypp::RepoManagerFlags::RefreshServiceBit
RefreshServiceBit
Flags for tuning RefreshService.
Definition RepoManagerFlags.h:35
zypp::filter
Definition Filter.h:29
zypp::url
Url details namespace.
Definition UrlBase.cc:58
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2
zypp::makeIterable
Iterable< TIterator > makeIterable(TIterator &&begin_r, TIterator &&end_r)
relates: Iterable convenient construction.
Definition Iterable.h:88
zypp::readRepoFile
std::list< RepoInfo > readRepoFile(const Url &repo_file)
Parses repo_file and returns a list of RepoInfo objects corresponding to repositories found within th...
Definition RepoManager.cc:280
zypp::ZYPP_API
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
Definition Arch.h:173
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const Capabilities &obj)
relates: Capabilities Stream output
Definition Capabilities.cc:65
zypp::RWCOW_pointer
RW_pointer supporting 'copy on write' functionality.
Definition PtrTypes.h:469
zypp::RepoManagerOptions
Repo manager settings.
Definition RepoManagerOptions.h:26
zypp::RepoManager::Impl
RepoManager implementation.
Definition RepoManager.cc:41
zypp::RepoManager::MatchServiceAlias
Functor thats filter RepoInfo by service which it belongs to.
Definition RepoManager.h:607
zypp::RepoManager::MatchServiceAlias::MatchServiceAlias
MatchServiceAlias(std::string alias_)
Definition RepoManager.h:609
zypp::RepoManager::MatchServiceAlias::operator()
bool operator()(const RepoInfo &info) const
Definition RepoManager.h:610
zypp::RepoManager::MatchServiceAlias::alias
std::string alias
Definition RepoManager.h:613
zypp::repo::RepoType
Repository type enumeration.
Definition RepoType.h:29
zypp::repo::ServiceType
Service type enumeration.
Definition ServiceType.h:27
zypp::url::ViewOption
Url::asString() view options.
Definition UrlBase.h:41