Classes | |
| class | MediaSet |
| class | OnMediaLocation |
| class | PackageProviderPolicy |
| class | PackageProvider |
| Provide a package from a Source. More... | |
| class | DownloadProgressPackageReceiver |
| class | DownloadProgressFileReceiver |
| class | SourceProber |
| Base class for Source prober. More... | |
| class | SourceEventHandler |
| class | SourceImpl |
| Base class for concrete Source implementations. More... | |
| class | SourceInfo |
| class | ProvideFilePolicy |
| Policy for provideFile. More... | |
| class | SkipRequestedException |
| A specialized exception to inform the caller that user specifically asked the file/directory providing to be skipped. More... | |
| class | SourceUserRejectedException |
| A specialized exception to inform the caller that user specifically rejected the source. More... | |
| class | SourceMetadataException |
| A specialized exception to inform the caller that the metadata is invalid. More... | |
| class | SourceIOException |
| A specialized exception to inform the caller that there is an IO error. More... | |
| class | SourceNotFoundException |
| A specialized exception to inform the caller that the source URL does not exist. More... | |
| class | SourceUnknownTypeException |
| A specialized exception to inform the caller that the source is not known. More... | |
| struct | DownloadResolvableReport |
| struct | ProbeSourceReport |
| struct | SourceCreateReport |
| struct | SourceReport |
Namespaces | |
| namespace | plaindir |
| namespace | susetags |
| namespace | yum |
Typedefs | |
| typedef std::list< SourceInfo > | SourceInfoList |
Functions | |
| IMPL_PTR_TYPE (MediaSet) | |
| DEFINE_PTR_TYPE (MediaSet) | |
| std::ostream & | operator<< (std::ostream &str, const OnMediaLocation &obj) |
| std::string | defRpmFileName (const Package::constPtr &package) |
| IMPL_PTR_TYPE (SourceImpl) | |
| static int | random () |
| static std::string | randomString (int length) |
| DEFINE_PTR_TYPE (SourceImpl) | |
| bool | yes () |
| bool | no () |
| ManagedFile | provideFile (Source_Ref source_r, const source::OnMediaLocation &loc_r, const ProvideFilePolicy &policy_r=ProvideFilePolicy()) |
| Provide a file from a Source. | |
|
|
Definition at line 83 of file SourceInfo.h. |
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 31 of file OnMediaLocation.cc. References zypp::source::OnMediaLocation::checksum(), zypp::source::OnMediaLocation::downloadsize(), zypp::source::OnMediaLocation::filename(), and zypp::source::OnMediaLocation::medianr(). |
|
|
Definition at line 59 of file PackageProvider.cc. Referenced by zypp::source::PackageProvider::tryDelta(). |
|
|
|
|
|
Definition at line 36 of file SourceImpl.cc. References zypp::base::sysconfig::read(). Referenced by randomString(). |
|
|
Definition at line 57 of file SourceImpl.cc. References random(), and zypp::solver::detail::str. Referenced by zypp::source::SourceImpl::checksum(). |
|
|
|
|
|
Definition at line 39 of file SourceProvideFile.cc. Referenced by zypp::source::ProvideFilePolicy::failOnChecksumErrorCB(). |
|
|
Definition at line 40 of file SourceProvideFile.cc. Referenced by zypp::source::ProvideFilePolicy::failOnChecksumErrorCB(). |
|
||||||||||||||||
|
Provide a file from a Source. Let source_r provide the file described by loc_r. In case loc_r contains a checksum, the file is verified. policy_r provides callback hooks for download progress reporting and behaviour on failed checksum verification.
Definition at line 95 of file SourceProvideFile.cc. References zypp::source::OnMediaLocation::checksum(), zypp::CheckSum::empty(), zypp::source::OnMediaLocation::filename(), zypp::source::OnMediaLocation::medianr(), MIL, zypp::source::ProvideFilePolicy::progress(), zypp::Source_Ref::provideFile(), zypp::Source_Ref::releaseFile(), and WAR. Referenced by zypp::source::PackageProvider::tryDelta(), and zypp::source::PackageProvider::tryPatch(). |
1.4.6