diff --git a/src/libutil/config.cc b/src/libutil/config.cc index f600a10ca..9599f58e6 100644 --- a/src/libutil/config.cc +++ b/src/libutil/config.cc @@ -471,9 +471,22 @@ template<> Paths PathsSetting::parse(const std::string & str, const Apply return parsed; } +template<> PathSet PathsSetting::parse(const std::string &str, const ApplyConfigOptions & options) const +{ + auto strings = tokenizeString(str); + PathSet parsed; + + for (auto str : strings) { + parsed.insert(parsePath(*this, str, options)); + } + + return parsed; +} + template class PathsSetting; template class PathsSetting>; template class PathsSetting; +template class PathsSetting; bool GlobalConfig::set(const std::string & name, const std::string & value, const ApplyConfigOptions & options)