|
OXY-SYNC-CONTAINER 1.0
OXY-SYNC-CONTAINER Library Documentation
|
Function object to load settings from an INI configuration file. More...
#include <settings.h>
Public Member Functions | |
| settings_t | operator() (std::filesystem::path const &file) const |
Function object to load settings from an INI configuration file.
This function object takes a filesystem path to an INI file, reads the configuration settings, and populates a settings_t instance with the values. If the file does not exist, it returns the default settings. It also expands any environment variables in the paths.
|
inline |
| file | - The filesystem path to the INI configuration file. |
References oxy::sync::settings::expand, and oxy::sync::settings::remove_quote.