libzypp  17.32.4
zyppng::RepoManagerPrivate Class Reference

#include <zypp/ng/private/repomanager_p.h>

Inheritance diagram for zyppng::RepoManagerPrivate:

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
 
- Public Member Functions inherited from zypp::RepoManagerBaseImpl
 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

- Public Types inherited from zypp::RepoManagerBaseImpl
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 Public Member Functions inherited from zypp::RepoManagerBaseImpl
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)
 
- Protected Member Functions inherited from zypp::RepoManagerBaseImpl
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 RepoSetrepos () const
 
RepoSetreposManip ()
 
- Protected Attributes inherited from zypp::RepoManagerBaseImpl
RepoManagerOptions _options
 
RepoSet _reposX
 
ServiceSet _services
 
DefaultIntegral< bool, false > _reposDirty
 

Detailed Description

Definition at line 18 of file repomanager_p.h.

Constructor & Destructor Documentation

◆ RepoManagerPrivate()

zyppng::RepoManagerPrivate::RepoManagerPrivate ( ContextRef  ctx,
RepoManagerOptions  repoOpts,
RepoManager &  p 
)

Member Function Documentation

◆ probe()

AsyncOpRef<expected<zypp::repo::RepoType> > zyppng::RepoManagerPrivate::probe ( const zypp::Url url,
const zypp::Pathname path = zypp::Pathname() 
) const

◆ removeRepository()

void zyppng::RepoManagerPrivate::removeRepository ( const zypp::RepoInfo info,
const zypp::ProgressData::ReceiverFnc  
)
override

Member Data Documentation

◆ _context

ContextWeakRef zyppng::RepoManagerPrivate::_context

Definition at line 27 of file repomanager_p.h.


The documentation for this class was generated from the following file: