Classes | |
| class | MediaSet |
| class | OnMediaLocation |
| class | PackageProviderPolicy |
| class | PackageProvider |
| Provide a package from a Source. More... | |
| class | DownloadProgressPackageReceiver |
| class | DownloadProgressFileReceiver |
| class | SourceImpl |
| Base class for concrete Source implementations. More... | |
| 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... | |
| struct | DownloadResolvableReport |
| struct | DownloadFileReport |
| struct | RefreshSourceReport |
| struct | CreateSourceReport |
Namespaces | |
| namespace | plaindir |
| namespace | susetags |
| namespace | yum |
Typedefs | |
| typedef AutoDispose< const Pathname > | ManagedFile |
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) | |
| 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 27 of file ManagedFile.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 54 of file PackageProvider.cc. Referenced by zypp::source::PackageProvider::tryDelta(). |
|
|
|
|
|
|
|
|
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