* Wrapper for ReadConfigFile() which returns false if the file was * not found. */
| 539 | * not found. |
| 540 | */ |
| 541 | static bool |
| 542 | TryReadConfigFile(ConfigData &config, Path path) |
| 543 | { |
| 544 | if (!FileExists(path)) |
| 545 | return false; |
| 546 | |
| 547 | ReadConfigFile(config, path); |
| 548 | return true; |
| 549 | } |
| 550 | |
| 551 | static void |
| 552 | LoadConfigFile(JNIEnv *env, ConfigData &config) |
no test coverage detected