1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/ZConfig.cc
13 #include "zypp/base/Logger.h"
15 #include "zypp/ZConfig.h"
16 #include "zypp/ZYppFactory.h"
20 ///////////////////////////////////////////////////////////////////
22 { /////////////////////////////////////////////////////////////////
24 ///////////////////////////////////////////////////////////////////
26 // METHOD NAME : ZConfig::systemArchitecture
29 Arch ZConfig::systemArchitecture() const
31 return getZYpp()->architecture();
34 ///////////////////////////////////////////////////////////////////
36 // METHOD NAME : ZConfig::defaultTextLocale
37 // METHOD TYPE : Locale
39 Locale ZConfig::defaultTextLocale() const
41 return getZYpp()->getTextLocale();
44 Pathname ZConfig::defaultRepoRawCachePath() const
46 return Pathname("/var/lib/zypp/cache/raw");
49 Pathname ZConfig::defaultRepoCachePath() const
51 return Pathname("/var/lib/zypp/cache");
54 Pathname ZConfig::defaultKnownReposPath() const
56 return Pathname("/etc/zypp/repos.d");
59 const std::string & ZConfig::cacheDBSplitJoinSeparator() const
61 static std::string s("!@$");
65 /////////////////////////////////////////////////////////////////
67 ///////////////////////////////////////////////////////////////////