#include <Downloader.h>
Public Member Functions | |
| Downloader () | |
| virtual | ~Downloader () |
| virtual void | download (MediaSetAccess &media, const Pathname &dest_dir, const ProgressData::ReceiverFnc &progress=ProgressData::ReceiverFnc()) |
| virtual RepoStatus | status (MediaSetAccess &media) |
Definition at line 31 of file Downloader.h.
| zypp::repo::Downloader::Downloader | ( | ) |
Constructor
Definition at line 28 of file Downloader.cc.
| zypp::repo::Downloader::~Downloader | ( | ) | [virtual] |
Definition at line 32 of file Downloader.cc.
| void zypp::repo::Downloader::download | ( | MediaSetAccess & | media, | |
| const Pathname & | dest_dir, | |||
| const ProgressData::ReceiverFnc & | progress = ProgressData::ReceiverFnc() | |||
| ) | [virtual] |
Download metadata to a local directory
| media | Media access to the repository url | |
| dest_dir | Local destination directory | |
| progress | progress receiver |
Reimplemented in zypp::repo::susetags::Downloader, and zypp::repo::yum::Downloader.
Definition at line 42 of file Downloader.cc.
References WAR.
| RepoStatus zypp::repo::Downloader::status | ( | MediaSetAccess & | media | ) | [virtual] |
Status of the remote repository
Reimplemented in zypp::repo::susetags::Downloader, and zypp::repo::yum::Downloader.
Definition at line 36 of file Downloader.cc.
References WAR.
1.5.3