libzypp
17.28.5
|
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. More... | |
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. More... | |
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 83 of file Downloader.cc.
|
inline |
Definition at line 88 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 102 of file Downloader.cc.
|
inline |
Definition at line 135 of file Downloader.cc.
|
inlineprivate |
Definition at line 147 of file Downloader.cc.
Definition at line 150 of file Downloader.cc.
|
inlineprivate |
Definition at line 153 of file Downloader.cc.
|
private |
Definition at line 163 of file Downloader.cc.
|
private |
Definition at line 164 of file Downloader.cc.
|
private |
Definition at line 165 of file Downloader.cc.
|
private |
Locales do download.
Definition at line 167 of file Downloader.cc.
|
private |
Definition at line 168 of file Downloader.cc.