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 AutoDispose< const Pathname > | ManagedFile |
| 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. | |
| typedef AutoDispose<const Pathname> zypp::source::ManagedFile |
Definition at line 27 of file ManagedFile.h.
| typedef std::list<SourceInfo> zypp::source::SourceInfoList |
Definition at line 83 of file SourceInfo.h.
| zypp::source::IMPL_PTR_TYPE | ( | MediaSet | ) |
| zypp::source::DEFINE_PTR_TYPE | ( | MediaSet | ) |
| std::ostream& zypp::source::operator<< | ( | std::ostream & | str, | |
| const OnMediaLocation & | obj | |||
| ) |
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().
| std::string zypp::source::@396::defRpmFileName | ( | const Package::constPtr & | package | ) | [inline, static] |
Definition at line 55 of file PackageProvider.cc.
Referenced by zypp::source::PackageProvider::tryDelta().
| zypp::source::IMPL_PTR_TYPE | ( | SourceImpl | ) |
| static int zypp::source::random | ( | ) | [static] |
Definition at line 36 of file SourceImpl.cc.
References zypp::base::sysconfig::read().
Referenced by randomString().
| static std::string zypp::source::randomString | ( | int | length | ) | [static] |
Definition at line 57 of file SourceImpl.cc.
References random(), and zypp::solver::detail::str.
Referenced by zypp::source::SourceImpl::checksum().
| zypp::source::DEFINE_PTR_TYPE | ( | SourceImpl | ) |
| bool zypp::source::@404::yes | ( | ) | [static] |
Definition at line 39 of file SourceProvideFile.cc.
Referenced by zypp::source::ProvideFilePolicy::failOnChecksumErrorCB().
| bool zypp::source::@404::no | ( | ) | [static] |
Definition at line 40 of file SourceProvideFile.cc.
Referenced by zypp::source::ProvideFilePolicy::failOnChecksumErrorCB().
| ManagedFile zypp::source::provideFile | ( | Source_Ref | source_r, | |
| const source::OnMediaLocation & | loc_r, | |||
| const ProvideFilePolicy & | policy_r = ProvideFilePolicy() | |||
| ) |
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.
| Exception |
Definition at line 95 of file SourceProvideFile.cc.
References zypp::source::OnMediaLocation::checksum(), zypp::CheckSum::empty(), zypp::source::ProvideFilePolicy::failOnChecksumError(), zypp::source::OnMediaLocation::filename(), zypp::source::OnMediaLocation::medianr(), MIL, zypp::source::ProvideFilePolicy::progress(), zypp::Source_Ref::provideFile(), zypp::Source_Ref::releaseFile(), zypp::CheckSum::type(), WAR, and ZYPP_THROW.
Referenced by zypp::source::PackageProvider::doProvidePackage(), zypp::source::PackageProvider::tryDelta(), and zypp::source::PackageProvider::tryPatch().
1.5.0