|
libzypp
15.24.2
|
RPM PackageProvider implementation. More...

Public Member Functions | |
| RpmPackageProvider (RepoMediaAccess &access_r, const Package::constPtr &package_r, const DeltaCandidates &deltas_r, const PackageProviderPolicy &policy_r) | |
Public Member Functions inherited from zypp::repo::PackageProvider::Impl | |
| Impl (RepoMediaAccess &access_r, const Package::constPtr &package_r, const DeltaCandidates &deltas_r, const PackageProviderPolicy &policy_r) | |
| Ctor taking the Package to provide. More... | |
| virtual | ~Impl () |
| ManagedFile | providePackage () const |
| Provide the package. More... | |
| ManagedFile | providePackageFromCache () const |
| Provide the package if it is cached. More... | |
| bool | isCached () const |
| Whether the package is cached. More... | |
Protected Member Functions | |
| virtual ManagedFile | doProvidePackageFromCache () const |
| Lookup the final rpm in cache. More... | |
| virtual ManagedFile | doProvidePackage () const |
| Actually provide the final rpm. More... | |
Protected Member Functions inherited from zypp::repo::PackageProvider::Impl | |
| Report & | report () const |
| Access to the DownloadResolvableReport. More... | |
| bool | progressPackageDownload (int value) const |
| Redirect ProvideFilePolicy package download progress to this. More... | |
| RpmDb::CheckPackageResult | packageSigCheck (const Pathname &path_r, UserData &userData) const |
| void | resolveSignatureErrorAction (repo::DownloadResolvableReport::Action action_r) const |
| React on signature verification error user action. More... | |
| void | defaultReportSignatureError (RpmDb::CheckPackageResult ret, const std::string &detail_r=std::string()) const |
| Default signature verification error handling. More... | |
Private Types | |
| typedef packagedelta::DeltaRpm | DeltaRpm |
Private Member Functions | |
| ManagedFile | tryDelta (const DeltaRpm &delta_r) const |
| bool | progressDeltaDownload (int value) const |
| void | progressDeltaApply (int value) const |
| bool | queryInstalled (const Edition &ed_r=Edition()) const |
Additional Inherited Members | |
Static Public Member Functions inherited from zypp::repo::PackageProvider::Impl | |
| static Impl * | factoryMake (RepoMediaAccess &access_r, const Package::constPtr &package_r, const DeltaCandidates &deltas_r, const PackageProviderPolicy &policy_r) |
| Factory method providing the appropriate implementation. More... | |
Protected Types inherited from zypp::repo::PackageProvider::Impl | |
| typedef PackageProvider::Impl | Base |
| typedef callback::SendReport < repo::DownloadResolvableReport > | Report |
| typedef target::rpm::RpmDb | RpmDb |
Protected Attributes inherited from zypp::repo::PackageProvider::Impl | |
| PackageProviderPolicy | _policy |
| Package::constPtr | _package |
| DeltaCandidates | _deltas |
| RepoMediaAccess & | _access |
RPM PackageProvider implementation.
Definition at line 412 of file PackageProvider.cc.
|
private |
Definition at line 428 of file PackageProvider.cc.
|
inline |
Definition at line 415 of file PackageProvider.cc.
|
protectedvirtual |
Lookup the final rpm in cache.
Default implementation (cache miss).
A non empty ManagedFile will be returned to the caller.
Implements zypp::repo::PackageProvider::Impl.
Definition at line 443 of file PackageProvider.cc.
|
protectedvirtual |
Actually provide the final rpm.
Default implementation (provide full package)
Report start/problem/finish and retry loop are hadled by providePackage. Here you trigger just progress and delta/plugin callbacks as needed.
Proxy method for progressPackageDownload is provided here.
Implements zypp::repo::PackageProvider::Impl.
Definition at line 448 of file PackageProvider.cc.
|
private |
Definition at line 481 of file PackageProvider.cc.
|
inlineprivate |
Definition at line 432 of file PackageProvider.cc.
|
inlineprivate |
Definition at line 435 of file PackageProvider.cc.
|
inlineprivate |
Definition at line 438 of file PackageProvider.cc.