libzypp 17.31.23
|
Helper filtering the files offered by a RepomdFileReader. More...
Public Member Functions | |
NON_COPYABLE (Impl) | |
NON_MOVABLE (Impl) | |
Impl (Downloader &downloader_r, MediaSetAccess &media_r, const Pathname &destDir_r) | |
bool | operator() (const OnMediaLocation &loc_r, const std::string &typestr_r) |
The callback invoked by the RepomdFileReader. | |
void | finalize () |
Private Member Functions | |
const Pathname & | deltaDir () const |
bool | wantLocale (const Locale &locale_r) const |
void | addWantedLocale (Locale locale_r) |
Private Attributes | |
Downloader & | _downloader |
MediaSetAccess & | _media |
const Pathname & | _destDir |
LocaleSet | _wantedLocales |
Locales do download. | |
std::map< std::string, OnMediaLocation > | _wantedFiles |
Helper filtering the files offered by a RepomdFileReader.
Clumsy construct; basically an Impl class for Downloader, maintained in Downloader::download only while parsing a repomd.xml. File types: type (plain) type_db (sqlite, ignored by zypp) type_zck (zchunk, preferred) Localized type: susedata.LOCALE
Definition at line 87 of file Downloader.cc.
|
inline |
Definition at line 92 of file Downloader.cc.
zypp::repo::yum::Downloader::Impl::NON_COPYABLE | ( | Impl | ) |
zypp::repo::yum::Downloader::Impl::NON_MOVABLE | ( | Impl | ) |
|
inline |
The callback invoked by the RepomdFileReader.
It's a pity, but in the presence of separate "type" and "type_zck" entries, we have to scan the whole file before deciding what to download....
Definition at line 106 of file Downloader.cc.
|
inline |
Definition at line 139 of file Downloader.cc.
|
inlineprivate |
Definition at line 151 of file Downloader.cc.
Definition at line 154 of file Downloader.cc.
|
inlineprivate |
Definition at line 157 of file Downloader.cc.
|
private |
Definition at line 167 of file Downloader.cc.
|
private |
Definition at line 168 of file Downloader.cc.
|
private |
Definition at line 169 of file Downloader.cc.
|
private |
Locales do download.
Definition at line 171 of file Downloader.cc.
|
private |
Definition at line 172 of file Downloader.cc.