Classes | |
| class | DeltaCandidates |
| class | Downloader |
| class | PackageProviderPolicy |
| class | PackageProvider |
| Provide a package from a Source. More... | |
| class | RepoException |
| class | RepoNotCachedException |
| The repository cache is not built yet so you can't create the repostories from the cache. More... | |
| class | RepoNoUrlException |
| thrown when it was impossible to determine one url for this repo. More... | |
| class | RepoNoAliasException |
| thrown when it was impossible to determine an alias for this repo. More... | |
| class | RepoNotFoundException |
| thrown when it was impossible to match a repository More... | |
| class | RepoAlreadyExistsException |
| Repository already exists and some unique attribute can't be duplicated. More... | |
| class | RepoUnknownTypeException |
| thrown when it was impossible to determine this repo type. More... | |
| class | RepoMetadataException |
| thrown when it was impossible to use the raw metadata for this repo. More... | |
| class | RepoMediaAccess |
| class | RepositoryImpl |
| struct | RepoType |
| struct | RepoVariablesStringReplacer |
| struct | RepoVariablesUrlReplacer |
| class | ScriptProvider |
| class | SrcPackageProvider |
| class | SUSEMediaVerifier |
| struct | DownloadResolvableReport |
| struct | ProbeRepoReport |
| struct | RepoCreateReport |
| struct | RepoReport |
Namespaces | |
| namespace | cached |
| namespace | memory |
| namespace | susetags |
| namespace | yum |
Typedefs | |
| typedef std::string(Script::* | inlined )() const |
| typedef OnMediaLocation(Script::* | location )() const |
| typedef std::string(SrcPackage::* | inlined )() const |
| typedef OnMediaLocation(SrcPackage::* | location )() const |
Functions | |
| std::ostream & | operator<< (std::ostream &str, const DeltaCandidates &obj) |
| void | downloadMediaInfo (const Pathname &dest_dir, MediaSetAccess &media, const ProgressData::ReceiverFnc &progress=ProgressData::ReceiverFnc()) |
| std::string | defRpmFileName (const Package::constPtr &package) |
| ManagedFile | provideFile (Repository repo_r, const OnMediaLocation &loc_r, const ProvideFilePolicy &policy_r=ProvideFilePolicy()) |
| Provide a file from a Repository. | |
| DEFINE_PTR_TYPE (RepositoryImpl) | |
| std::ostream & | operator<< (std::ostream &str, const RepoType &obj) |
| bool | operator== (const RepoType &obj1, const RepoType &obj2) |
| ManagedFile | doProvideScript (repo::RepoMediaAccess &access_r, const Script &script_r, inlined inlined_r, location location_r) |
| Provide a Script in a local file. | |
| ManagedFile | doProvideSrcPackage (repo::RepoMediaAccess &access_r, const SrcPackage &script_r, inlined inlined_r, location location_r) |
| Provide a SrcPackage in a local file. | |
Variables | |
| static std::map < std::string, RepoType::Type > | _table |
typedef std::string(Script::* zypp::repo::inlined)() const [static] |
Definition at line 33 of file ScriptProvider.cc.
typedef OnMediaLocation(Script::* zypp::repo::location)() const [static] |
Definition at line 34 of file ScriptProvider.cc.
typedef std::string(SrcPackage::* zypp::repo::inlined)() const [static] |
Definition at line 33 of file SrcPackageProvider.cc.
typedef OnMediaLocation(SrcPackage::* zypp::repo::location)() const [static] |
Definition at line 34 of file SrcPackageProvider.cc.
| std::ostream& zypp::repo::operator<< | ( | std::ostream & | str, | |
| const DeltaCandidates & | obj | |||
| ) |
| void zypp::repo::downloadMediaInfo | ( | const Pathname & | dest_dir, | |
| MediaSetAccess & | media, | |||
| const ProgressData::ReceiverFnc & | progress = ProgressData::ReceiverFnc() | |||
| ) |
Downloads the media info (/media.1) to a local directory
| dest_dir | Destination directory | |
| media | MediaSetAccess object to some media | |
| progress | Progress callback function |
| Exception | on error |
Definition at line 25 of file MediaInfoDownloader.cc.
References zypp::Fetcher::enqueue(), zypp::Fetcher::reset(), and zypp::Fetcher::start().
Referenced by zypp::repo::susetags::Downloader::download().
| std::string zypp::repo::@437::defRpmFileName | ( | const Package::constPtr & | package | ) | [inline, static] |
Definition at line 65 of file PackageProvider.cc.
Referenced by zypp::repo::PackageProvider::tryDelta().
| ManagedFile zypp::repo::provideFile | ( | Repository | repo_r, | |
| const OnMediaLocation & | loc_r, | |||
| const ProvideFilePolicy & | policy_r = ProvideFilePolicy() | |||
| ) |
Provide a file from a Repository.
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 71 of file RepoProvideFile.cc.
References zypp::repo::RepoMediaAccess::provideFile().
| zypp::repo::DEFINE_PTR_TYPE | ( | RepositoryImpl | ) |
| std::ostream& zypp::repo::operator<< | ( | std::ostream & | str, | |
| const RepoType & | obj | |||
| ) | [inline] |
| bool zypp::repo::operator== | ( | const RepoType & | obj1, | |
| const RepoType & | obj2 | |||
| ) | [inline] |
| ManagedFile zypp::repo::@449::doProvideScript | ( | repo::RepoMediaAccess & | access_r, | |
| const Script & | script_r, | |||
| inlined | inlined_r, | |||
| location | location_r | |||
| ) | [static] |
Provide a Script in a local file.
Definition at line 37 of file ScriptProvider.cc.
References zypp::filesystem::chmod(), zypp::filesystem::TmpPath::defaultLocation(), zypp::OnMediaLocation::filename(), zypp::Resolvable::name(), zypp::repo::RepoMediaAccess::provideFile(), zypp::ResObject::repository(), zypp::solver::detail::str, zypp::filesystem::unlink(), and zypp::AutoDispose< _Tp >::value().
Referenced by zypp::repo::ScriptProvider::provideDoScript(), and zypp::repo::ScriptProvider::provideUndoScript().
| ManagedFile zypp::repo::@451::doProvideSrcPackage | ( | repo::RepoMediaAccess & | access_r, | |
| const SrcPackage & | script_r, | |||
| inlined | inlined_r, | |||
| location | location_r | |||
| ) | [static] |
Provide a SrcPackage in a local file.
Definition at line 37 of file SrcPackageProvider.cc.
References zypp::filesystem::chmod(), zypp::filesystem::TmpPath::defaultLocation(), zypp::OnMediaLocation::filename(), zypp::Resolvable::name(), zypp::repo::RepoMediaAccess::provideFile(), zypp::ResObject::repository(), zypp::solver::detail::str, zypp::filesystem::unlink(), and zypp::AutoDispose< _Tp >::value().
std::map<std::string,RepoType::Type> zypp::repo::_table [static] |
Definition at line 20 of file RepoType.cc.
Referenced by zypp::repo::RepoType::asString(), and zypp::repo::RepoType::parse().
1.5.3