#include <RepoManager.h>
Public Member Functions | |
RepoManagerOptions (const Pathname &root_r=Pathname()) | |
Default ctor following ZConfig global settings. | |
Pathname | pluginsPath () const |
Static Public Member Functions | |
static RepoManagerOptions | makeTestSetup (const Pathname &root_r) |
Test setup adjusting all paths to be located below one root_r directory. | |
Public Attributes | |
Pathname | repoCachePath |
Pathname | repoRawCachePath |
Pathname | repoSolvCachePath |
Pathname | repoPackagesCachePath |
Pathname | knownReposPath |
Pathname | knownServicesPath |
bool | probe |
std::string | servicesTargetDistro |
Target distro ID to be used when refreshing repo index services. | |
Pathname | rootDir |
remembers root_r value for later use |
Settings default to ZYpp global settings.
Definition at line 54 of file RepoManager.h.
zypp::RepoManagerOptions::RepoManagerOptions | ( | const Pathname & | root_r = Pathname() |
) |
Default ctor following ZConfig global settings.
If an optional root_r
directory is given, all paths will be prefixed accordingly.
Definition at line 140 of file RepoManager.cc.
References zypp::ZConfig::instance(), knownReposPath, knownServicesPath, probe, zypp::ZConfig::repo_add_probe(), repoCachePath, repoPackagesCachePath, repoRawCachePath, repoSolvCachePath, and rootDir.
RepoManagerOptions zypp::RepoManagerOptions::makeTestSetup | ( | const Pathname & | root_r | ) | [static] |
Test setup adjusting all paths to be located below one root_r
directory.
root_r\ - repoCachePath \raw - repoRawCachePath \solv - repoSolvCachePath \packages - repoPackagesCachePath \repos.d - knownReposPath
Definition at line 153 of file RepoManager.cc.
References knownReposPath, knownServicesPath, repoCachePath, repoPackagesCachePath, repoRawCachePath, repoSolvCachePath, and rootDir.
Pathname zypp::RepoManagerOptions::pluginsPath | ( | ) | const |
TestSetup
Definition at line 166 of file RepoManager.cc.
References zypp::ZConfig::instance(), repoCachePath, and rootDir.
Referenced by zypp::RepoManager::Impl::init_knownServices().
Definition at line 80 of file RepoManager.h.
Referenced by makeTestSetup(), pluginsPath(), and RepoManagerOptions().
Definition at line 81 of file RepoManager.h.
Referenced by makeTestSetup(), zypp::rawcache_path_for_repoinfo(), zypp::rawproductdata_path_for_repoinfo(), and RepoManagerOptions().
Definition at line 82 of file RepoManager.h.
Referenced by makeTestSetup(), RepoManagerOptions(), and zypp::solv_path_for_repoinfo().
Definition at line 83 of file RepoManager.h.
Referenced by makeTestSetup(), zypp::packagescache_path_for_repoinfo(), and RepoManagerOptions().
Definition at line 84 of file RepoManager.h.
Referenced by zypp::RepoManager::Impl::init_knownRepositories(), makeTestSetup(), and RepoManagerOptions().
Definition at line 85 of file RepoManager.h.
Referenced by zypp::RepoManager::Impl::init_knownServices(), makeTestSetup(), RepoManagerOptions(), and zypp::RepoManager::Impl::saveService().
std::string zypp::RepoManagerOptions::servicesTargetDistro |
Target distro ID to be used when refreshing repo index services.
Repositories not maching this ID will be skipped/removed.
The value is initialized upon construction to Target::targetDistribution() if the Target is already initialized, otherwise the value is initially empty.
If empty, no repositories contained in the index will be skipped.
Definition at line 97 of file RepoManager.h.
Pathname zypp::RepoManagerOptions::rootDir |
remembers root_r value for later use
Definition at line 100 of file RepoManager.h.
Referenced by makeTestSetup(), pluginsPath(), and RepoManagerOptions().