libzypp: zypp/RepoManagerOptions.h Source File

libzypp 17.38.14

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-core/Pathname.h>
16#include <zypp-core/Globals.h>
17#include <ostream>
18
19namespace 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
Globals.h
Provides API related macros.
Pathname.h
zypp::filesystem::Pathname
Pathname.
Definition Pathname.h:48
str
String related utilities and Regular expression matching.
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2
zypp::ZYPP_API
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
Definition Arch.h:173
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const Capabilities &obj)
relates: Capabilities Stream output
Definition Capabilities.cc:65
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