Public Member Functions | |
| void | enqueue (const OnMediaLocation &resource, const FileChecker &checker) |
| void | enqueueDigested (const OnMediaLocation &resource, const FileChecker &checker) |
| void | addCachePath (const Pathname &cache_dir) |
| void | reset () |
| void | start (const Pathname &dest_dir, MediaSetAccess &media, const ProgressData::ReceiverFnc &progress_receiver) |
Static Public Member Functions | |
| static shared_ptr< Impl > | nullimpl () |
| Offer default Impl. | |
Private Member Functions | |
| Impl * | clone () const |
| clone for RWCOW_pointer | |
Private Attributes | |
| std::list < FetcherJob_Ptr > | _resources |
| std::list< Pathname > | _caches |
Friends | |
| Impl * | r (const Impl *rhs) |
Related Functions | |
| (Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const Fetcher::Impl &obj) |
| Stream output. | |
Definition at line 56 of file Fetcher.cc.
| void zypp::Fetcher::Impl::enqueue | ( | const OnMediaLocation & | resource, | |
| const FileChecker & | checker | |||
| ) |
| void zypp::Fetcher::Impl::enqueueDigested | ( | const OnMediaLocation & | resource, | |
| const FileChecker & | checker | |||
| ) |
Definition at line 88 of file Fetcher.cc.
References _resources, and zypp::OnMediaLocation::checksum().
| void zypp::Fetcher::Impl::addCachePath | ( | const Pathname & | cache_dir | ) |
| void zypp::Fetcher::Impl::reset | ( | ) |
| void zypp::Fetcher::Impl::start | ( | const Pathname & | dest_dir, | |
| MediaSetAccess & | media, | |||
| const ProgressData::ReceiverFnc & | progress_receiver | |||
| ) |
Definition at line 128 of file Fetcher.cc.
References _caches, _resources, zypp::filesystem::assert_dir(), zypp::filesystem::copy(), ERR, zypp::filesystem::is_checksum(), MIL, zypp::Exception::msg(), zypp::MediaSetAccess::provideFile(), ZYPP_CAUGHT, ZYPP_RETHROW, and ZYPP_THROW.
| static shared_ptr<Impl> zypp::Fetcher::Impl::nullimpl | ( | ) | [inline, static] |
| Impl* zypp::Fetcher::Impl::clone | ( | ) | const [inline, private] |
| std::ostream & operator<< | ( | std::ostream & | str, | |
| const Fetcher::Impl & | obj | |||
| ) | [related] |
std::list<FetcherJob_Ptr> zypp::Fetcher::Impl::_resources [private] |
Definition at line 82 of file Fetcher.cc.
Referenced by enqueue(), enqueueDigested(), reset(), and start().
std::list<Pathname> zypp::Fetcher::Impl::_caches [private] |
1.5.3