For example, we have:
static NonnullRefPtr<ConfigFile> get_for_lib(const String& lib_name);
static NonnullRefPtr<ConfigFile> get_for_app(const String& app_name);
static NonnullRefPtr<ConfigFile> get_for_system(const String& app_name);
static NonnullRefPtr<ConfigFile> open(const String& path);
which return NonnullRefPtr
.
The void reparse()
just returns when file cannot be opened.
It seems that the only way to check if ConfigFile was properly opened is checking if it has any sections (but ConfigFile without sections is also a valid ConfigFile)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too