bugfix: expanding wildcards in config includes (#4354)

This commit is contained in:
Arkoniak
2025-08-12 22:23:18 +03:00
parent 41de8964f1
commit 5ac28f3947
2 changed files with 27 additions and 10 deletions

View File

@ -35,7 +35,8 @@ class Config {
void setupConfig(Json::Value &dst, const std::string &config_file, int depth);
void resolveConfigIncludes(Json::Value &config, int depth);
void mergeConfig(Json::Value &a_config_, Json::Value &b_config_);
static std::optional<std::string> findIncludePath(const std::string &name);
static std::vector<std::string> findIncludePath(
const std::string &name, const std::vector<std::string> &dirs = CONFIG_DIRS);
std::string config_file_;