libzypp 17.37.10

RepoManagerOptions.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#ifndef ZYPP_REPOMANAGER_OPTIONS_H
13#define ZYPP_REPOMANAGER_OPTIONS_H
14
15#include <zypp/Pathname.h>
16#include <zypp/Globals.h>
17#include <ostream>
18
19 namespace zypp
20{
25 struct ZYPP_API RepoManagerOptions
26 {
38 RepoManagerOptions( const Pathname & root_r = Pathname() );
39
49 static RepoManagerOptions makeTestSetup( const Pathname & root_r );
50
51 Pathname repoCachePath;
52 Pathname repoRawCachePath;
53 Pathname repoSolvCachePath;
54 Pathname repoPackagesCachePath;
55 Pathname knownReposPath;
56 Pathname knownServicesPath;
57 Pathname pluginsPath;
58 bool probe;
65 std::string servicesTargetDistro;
66
68 Pathname rootDir;
69 };
70
71 std::ostream & operator<<( std::ostream & str, const RepoManagerOptions & obj );
72}
73
74#endif
zypp::filesystem::Pathname
Pathname.
Definition Pathname.h:47
str
String related utilities and Regular expression matching.
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition Application.cc:20
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
Definition SerialNumber.cc:52
zypp::ZYPP_API
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Definition Arch.h:247
zypp::RepoManagerOptions
Repo manager settings.
Definition RepoManagerOptions.h:26
zypp::RepoManagerOptions::servicesTargetDistro
std::string servicesTargetDistro
Target distro ID to be used when refreshing repo index services.
Definition RepoManagerOptions.h:65
zypp::RepoManagerOptions::makeTestSetup
static RepoManagerOptions makeTestSetup(const Pathname &root_r)
Test setup adjusting all paths to be located below one root_r directory.
Definition RepoManagerOptions.cc:38
zypp::RepoManagerOptions::repoSolvCachePath
Pathname repoSolvCachePath
Definition RepoManagerOptions.h:53
zypp::RepoManagerOptions::knownReposPath
Pathname knownReposPath
Definition RepoManagerOptions.h:55
zypp::RepoManagerOptions::repoCachePath
Pathname repoCachePath
Definition RepoManagerOptions.h:51
zypp::RepoManagerOptions::pluginsPath
Pathname pluginsPath
Definition RepoManagerOptions.h:57
zypp::RepoManagerOptions::probe
bool probe
Definition RepoManagerOptions.h:58
zypp::RepoManagerOptions::rootDir
Pathname rootDir
remembers root_r value for later use
Definition RepoManagerOptions.h:68
zypp::RepoManagerOptions::knownServicesPath
Pathname knownServicesPath
Definition RepoManagerOptions.h:56
zypp::RepoManagerOptions::repoRawCachePath
Pathname repoRawCachePath
Definition RepoManagerOptions.h:52
zypp::RepoManagerOptions::repoPackagesCachePath
Pathname repoPackagesCachePath
Definition RepoManagerOptions.h:54
zypp::RepoManagerOptions::RepoManagerOptions
RepoManagerOptions(const Pathname &root_r=Pathname())
Default ctor following ZConfig global settings.
Definition RepoManagerOptions.cc:24
Globals.h
Pathname.h