18#include <zypp-core/base/Logger.h>
19#include <zypp-core/base/String.h>
20#include <zypp-core/Pathname.h>
33 ?
"/etc/sysconfig" + path
35 std::map<std::string,std::string>::const_iterator it = data.find(
"PROXY_ENABLED");
38 it = data.find(
"HTTP_PROXY");
41 it = data.find(
"HTTPS_PROXY");
44 it = data.find(
"FTP_PROXY");
47 it = data.find(
"NO_PROXY");
54 std::map<std::string,std::string>::const_iterator it =
_proxies.find(url_r.
getScheme());
RepoManager implementation.
std::string getScheme() const
Returns the scheme name of the URL.
bool relative() const
Test for a relative path.
std::map< std::string, std::string > read(const Pathname &_path)
Read sysconfig file path_r and return (key,valye) pairs.
unsigned split(const C_Str &line_r, TOutputIterator result_r, const C_Str &sepchars_r=" \t", const Trim trim_r=NO_TRIM)
Split line_r into words.
Easy-to use interface to the ZYPP dependency resolver.