libzypp
17.32.4
|
#include <zypp/ng/private/repomanager_p.h>
Public Member Functions | |
RepoManagerPrivate (ContextRef ctx, RepoManagerOptions repoOpts, RepoManager &p) | |
AsyncOpRef< expected< zypp::repo::RepoType > > | probe (const zypp::Url &url, const zypp::Pathname &path=zypp::Pathname()) const |
void | removeRepository (const zypp::RepoInfo &info, const zypp::ProgressData::ReceiverFnc &) override |
![]() | |
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) |
Public Attributes | |
ContextWeakRef | _context |
Additional Inherited Members | |
![]() | |
using | ServiceSet = std::set< ServiceInfo > |
ServiceInfo typedefs. More... | |
using | ServiceConstIterator = ServiceSet::const_iterator |
using | ServiceSizeType = ServiceSet::size_type |
using | RepoSet = std::set< RepoInfo > |
RepoInfo typedefs. More... | |
using | RepoConstIterator = RepoSet::const_iterator |
using | RepoSizeType = RepoSet::size_type |
![]() | |
static RepoStatus | metadataStatus (const RepoInfo &info, const RepoManagerOptions &options) |
static repo::RepoType | probeCache (const Pathname &path_r) |
Probe Metadata in a local cache directory. More... | |
static RepoStatus | cacheStatus (const RepoInfo &info, const RepoManagerOptions &options) |
static void | touchIndexFile (const RepoInfo &info, const RepoManagerOptions &options) |
![]() | |
void | removeRepositoryImpl (const RepoInfo &info, OPT_PROGRESS) |
void | saveService (ServiceInfo &service) const |
Pathname | generateNonExistingName (const Pathname &dir, const std::string &basefilename) const |
Generate a non existing filename in a directory, using a base name. More... | |
std::string | generateFilename (const RepoInfo &info) const |
std::string | generateFilename (const ServiceInfo &info) const |
void | setCacheStatus (const RepoInfo &info, const RepoStatus &status) |
void | touchIndexFile (const RepoInfo &info) |
template<typename OutputIterator > | |
void | getRepositoriesInService (const std::string &alias, OutputIterator out) const |
void | init_knownServices () |
void | init_knownRepositories () |
const RepoSet & | repos () const |
RepoSet & | reposManip () |
![]() | |
RepoManagerOptions | _options |
RepoSet | _reposX |
ServiceSet | _services |
DefaultIntegral< bool, false > | _reposDirty |
Definition at line 18 of file repomanager_p.h.
zyppng::RepoManagerPrivate::RepoManagerPrivate | ( | ContextRef | ctx, |
RepoManagerOptions | repoOpts, | ||
RepoManager & | p | ||
) |
AsyncOpRef<expected<zypp::repo::RepoType> > zyppng::RepoManagerPrivate::probe | ( | const zypp::Url & | url, |
const zypp::Pathname & | path = zypp::Pathname() |
||
) | const |
|
override |
ContextWeakRef zyppng::RepoManagerPrivate::_context |
Definition at line 27 of file repomanager_p.h.