feat: add DLU_CONFIG_DIR env var (#1370)

* feat: add DLU_CONFIG_DIR env var

* fix: PascalCase
This commit is contained in:
Daniel Seiler
2023-12-30 14:07:49 +01:00
committed by GitHub
parent 98d2f25af2
commit 42a71bbeab
6 changed files with 31 additions and 11 deletions

View File

@@ -7,6 +7,11 @@ class dConfig {
public:
dConfig(const std::string& filepath);
/**
* Checks whether the specified filepath exists
*/
static const bool Exists(const std::string& filepath);
/**
* Gets the specified key from the config. Returns an empty string if the value is not found.
*