Get settings file path, or return false if read‐write settings were disabled with ‐nosettings.

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381aeda8)]]
bool
GetSettingsPath(
    fs::path* filepath = nullptr,
    bool temp = false,
    bool backup = false) const;

Return Value

true if read‐write settings are enabled.

Parameters

Name

Description

filepath

If non‐null, set to the resolved settings file path.

temp

Resolve the path of the temporary settings file.

backup

Resolve the path of the backup settings file.

Created with MrDocs