Write settings file.

Synopsis

Declared in <common/settings.h>

bool
WriteSettings(
    fs::path const& path,
    std::map<std::string, SettingsValue> const& values,
    std::vector<std::string>& errors);

Return Value

true if the file was written successfully.

Parameters

Name

Description

path

Path to the settings file.

values

The settings to write.

errors

Populated with any write errors encountered.

Created with MrDocs