Provide access to the prioritized list of files and drop-ins to read and merge for a specific config file.
More...
Provide access to the prioritized list of files and drop-ins to read and merge for a specific config file.
The list is ordered from lowest priority to highest priority,
The rules are defined by the UAPI.6 Configuration Files Specification (version 1)[1], but may be changed to follow newer versions in the future.
- See also
- [1] https://github.com/uapi-group/specifications/blob/main/specs/configuration_files_specification.md
Definition at line 35 of file econfdict.cc.
◆ Exception
◆ ConfigurationContext() [1/2]
| zypp::parser::econf::ConfigurationContext::ConfigurationContext |
( |
| ) |
|
|
inline |
◆ ConfigurationContext() [2/2]
| zypp::parser::econf::ConfigurationContext::ConfigurationContext |
( |
std::optional< Pathname > | etcDir_r, |
|
|
std::optional< Pathname > | usrDir_r ) |
|
inline |
◆ etcDir()
| const std::optional< Pathname > & zypp::parser::econf::ConfigurationContext::etcDir |
( |
| ) |
const |
|
inline |
◆ usrDir()
| const std::optional< Pathname > & zypp::parser::econf::ConfigurationContext::usrDir |
( |
| ) |
const |
|
inline |
◆ getConfigFiles()
| std::vector< Pathname > zypp::parser::econf::ConfigurationContext::getConfigFiles |
( |
const std::string & | stem_r, |
|
|
const Pathname & | root_r = Pathname("/") ) const |
|
inline |
◆ takeLookupDirIf()
| void zypp::parser::econf::ConfigurationContext::takeLookupDirIf |
( |
std::vector< Pathname > & | lookupDirs_r, |
|
|
Pathname | dir_r ) |
|
inlinestaticprivate |
◆ isSet()
| bool zypp::parser::econf::ConfigurationContext::isSet |
( |
const PathInfo & | file_r | ) |
|
|
inlinestaticprivate |
An empty path denotes the unset value.
Definition at line 120 of file econfdict.cc.
◆ takeOrMask()
| void zypp::parser::econf::ConfigurationContext::takeOrMask |
( |
const PathInfo & | file_r, |
|
|
PathInfo & | toParse_r ) |
|
inlinestaticprivate |
The 1st viable file_r is stored in toParse_r; candidates found later are masked.
Definition at line 124 of file econfdict.cc.
◆ handOutIf()
| void zypp::parser::econf::ConfigurationContext::handOutIf |
( |
std::vector< Pathname > & | ret_r, |
|
|
const PathInfo & | file_r ) |
|
inlinestaticprivate |
◆ _etcDir
| std::optional<Pathname> zypp::parser::econf::ConfigurationContext::_etcDir |
|
private |
◆ _usrDir
| std::optional<Pathname> zypp::parser::econf::ConfigurationContext::_usrDir |
|
private |
vendor configuration: distconfdir (/usr/etc)
Definition at line 146 of file econfdict.cc.
The documentation for this struct was generated from the following file: