Read settings file.
Synopsis
Declared in <common/settings.h>
bool
ReadSettings(
fs::path const& path,
std::map<std::string, SettingsValue>& values,
std::vector<std::string>& errors);
Return Value
true if the file was read successfully.
Parameters
Name |
Description |
path |
Path to the settings file. |
values |
Populated with the settings read from the file. |
errors |
Populated with any parse errors encountered. |
Created with MrDocs