#include <zypp_detail/repomanagerbase_p.h>
|
| | RepoManagerBaseImpl (RepoManagerOptions &&opt) |
| |
| virtual | ~RepoManagerBaseImpl () |
| |
| bool | repoEmpty () const |
| |
| RepoSizeType | repoSize () const |
| |
| RepoConstIterator | repoBegin () const |
| |
| RepoConstIterator | repoEnd () const |
| |
| bool | hasRepo (const std::string &alias) const |
| |
| RepoInfo | getRepo (const std::string &alias) const |
| |
| Pathname | metadataPath (const RepoInfo &info) const |
| |
| Pathname | packagesPath (const RepoInfo &info) const |
| |
| RepoStatus | metadataStatus (const RepoInfo &info) const |
| |
| void | cleanMetadata (const RepoInfo &info, OPT_PROGRESS) |
| |
| void | cleanPackages (const RepoInfo &info, OPT_PROGRESS, bool isAutoClean=false) |
| |
| void | cleanCacheDirGarbage (OPT_PROGRESS) |
| |
| void | cleanCache (const RepoInfo &info, OPT_PROGRESS) |
| |
| bool | isCached (const RepoInfo &info) const |
| |
| RepoStatus | cacheStatus (const RepoInfo &info) const |
| |
| void | loadFromCache (const RepoInfo &info, OPT_PROGRESS) |
| |
| void | addProbedRepository (const RepoInfo &info, repo::RepoType probedType) |
| |
| virtual void | removeRepository (const RepoInfo &info, OPT_PROGRESS)=0 |
| |
| void | modifyRepository (const std::string &alias, const RepoInfo &newinfo_r, OPT_PROGRESS) |
| |
| RepoInfo | getRepositoryInfo (const std::string &alias) |
| |
| RepoInfo | getRepositoryInfo (const Url &url, const url::ViewOption &urlview) |
| |
| bool | serviceEmpty () const |
| |
| ServiceSizeType | serviceSize () const |
| |
| ServiceConstIterator | serviceBegin () const |
| |
| ServiceConstIterator | serviceEnd () const |
| |
| bool | hasService (const std::string &alias) const |
| |
| ServiceInfo | getService (const std::string &alias) const |
| |
| void | addService (const ServiceInfo &service) |
| |
| void | addService (const std::string &alias, const Url &url) |
| |
| void | removeService (const std::string &alias) |
| |
| void | removeService (const ServiceInfo &service) |
| |
| void | modifyService (const std::string &oldAlias, const ServiceInfo &newService) |
| |
Definition at line 213 of file repomanagerbase_p.h.
◆ ServiceSet
◆ ServiceConstIterator
◆ ServiceSizeType
◆ RepoSet
◆ RepoConstIterator
◆ RepoSizeType
◆ RepoManagerBaseImpl()
◆ ~RepoManagerBaseImpl()
| zypp::RepoManagerBaseImpl::~RepoManagerBaseImpl |
( |
| ) |
|
|
virtual |
◆ repoEmpty()
| bool zypp::RepoManagerBaseImpl::repoEmpty |
( |
| ) |
const |
|
inline |
◆ repoSize()
◆ repoBegin()
◆ repoEnd()
◆ hasRepo()
| bool zypp::RepoManagerBaseImpl::hasRepo |
( |
const std::string & |
alias | ) |
const |
|
inline |
◆ getRepo()
| RepoInfo zypp::RepoManagerBaseImpl::getRepo |
( |
const std::string & |
alias | ) |
const |
|
inline |
◆ metadataPath()
◆ packagesPath()
◆ metadataStatus() [1/2]
◆ metadataStatus() [2/2]
◆ cleanMetadata()
◆ cleanPackages()
◆ probeCache()
Probe Metadata in a local cache directory.
- Note
- Metadata in local cache directories must not be probed using probe as a cache path must not be rewritten (bnc#946129)
Definition at line 247 of file repomanagerbase_p.cc.
◆ cleanCacheDirGarbage()
| void zypp::RepoManagerBaseImpl::cleanCacheDirGarbage |
( |
OPT_PROGRESS |
| ) |
|
◆ cleanCache()
◆ isCached()
| bool zypp::RepoManagerBaseImpl::isCached |
( |
const RepoInfo & |
info | ) |
const |
|
inline |
◆ cacheStatus() [1/2]
◆ cacheStatus() [2/2]
◆ loadFromCache()
◆ addProbedRepository()
◆ removeRepository()
◆ modifyRepository()
| void zypp::RepoManagerBaseImpl::modifyRepository |
( |
const std::string & |
alias, |
|
|
const RepoInfo & |
newinfo_r, |
|
|
OPT_PROGRESS |
|
|
) |
| |
◆ getRepositoryInfo() [1/2]
| RepoInfo zypp::RepoManagerBaseImpl::getRepositoryInfo |
( |
const std::string & |
alias | ) |
|
◆ getRepositoryInfo() [2/2]
◆ serviceEmpty()
| bool zypp::RepoManagerBaseImpl::serviceEmpty |
( |
| ) |
const |
|
inline |
◆ serviceSize()
◆ serviceBegin()
◆ serviceEnd()
◆ hasService()
| bool zypp::RepoManagerBaseImpl::hasService |
( |
const std::string & |
alias | ) |
const |
|
inline |
◆ getService()
| ServiceInfo zypp::RepoManagerBaseImpl::getService |
( |
const std::string & |
alias | ) |
const |
|
inline |
◆ addService() [1/2]
| void zypp::RepoManagerBaseImpl::addService |
( |
const ServiceInfo & |
service | ) |
|
◆ addService() [2/2]
| void zypp::RepoManagerBaseImpl::addService |
( |
const std::string & |
alias, |
|
|
const Url & |
url |
|
) |
| |
|
inline |
◆ removeService() [1/2]
| void zypp::RepoManagerBaseImpl::removeService |
( |
const std::string & |
alias | ) |
|
◆ removeService() [2/2]
| void zypp::RepoManagerBaseImpl::removeService |
( |
const ServiceInfo & |
service | ) |
|
|
inline |
◆ modifyService()
| void zypp::RepoManagerBaseImpl::modifyService |
( |
const std::string & |
oldAlias, |
|
|
const ServiceInfo & |
newService |
|
) |
| |
◆ touchIndexFile() [1/2]
◆ removeRepositoryImpl()
◆ saveService()
| void zypp::RepoManagerBaseImpl::saveService |
( |
ServiceInfo & |
service | ) |
const |
|
protected |
◆ generateNonExistingName()
| Pathname zypp::RepoManagerBaseImpl::generateNonExistingName |
( |
const Pathname & |
dir, |
|
|
const std::string & |
basefilename |
|
) |
| const |
|
protected |
Generate a non existing filename in a directory, using a base name.
For example if a directory contains 3 files
|– bar |– foo `– moo
If you try to generate a unique filename for this directory, based on "ruu" you will get "ruu", but if you use the base "foo" you will get "foo_1"
- Parameters
-
| dir | Directory where the file needs to be unique |
| basefilename | string to base the filename on. |
Definition at line 752 of file repomanagerbase_p.cc.
◆ generateFilename() [1/2]
| std::string zypp::RepoManagerBaseImpl::generateFilename |
( |
const RepoInfo & |
info | ) |
const |
|
inlineprotected |
◆ generateFilename() [2/2]
| std::string zypp::RepoManagerBaseImpl::generateFilename |
( |
const ServiceInfo & |
info | ) |
const |
|
inlineprotected |
◆ setCacheStatus()
| void zypp::RepoManagerBaseImpl::setCacheStatus |
( |
const RepoInfo & |
info, |
|
|
const RepoStatus & |
status |
|
) |
| |
|
inlineprotected |
◆ touchIndexFile() [2/2]
| void zypp::RepoManagerBaseImpl::touchIndexFile |
( |
const RepoInfo & |
info | ) |
|
|
protected |
◆ getRepositoriesInService()
template<typename OutputIterator >
| void zypp::RepoManagerBaseImpl::getRepositoriesInService |
( |
const std::string & |
alias, |
|
|
OutputIterator |
out |
|
) |
| const |
|
inlineprotected |
◆ init_knownServices()
| void zypp::RepoManagerBaseImpl::init_knownServices |
( |
| ) |
|
|
protected |
◆ init_knownRepositories()
| void zypp::RepoManagerBaseImpl::init_knownRepositories |
( |
| ) |
|
|
protected |
◆ repos()
| const RepoSet& zypp::RepoManagerBaseImpl::repos |
( |
| ) |
const |
|
inlineprotected |
◆ reposManip()
| RepoSet& zypp::RepoManagerBaseImpl::reposManip |
( |
| ) |
|
|
inlineprotected |
◆ _options
◆ _reposX
| RepoSet zypp::RepoManagerBaseImpl::_reposX |
|
protected |
◆ _services
◆ _reposDirty
The documentation for this struct was generated from the following files: