MCPcopy Create free account
hub / github.com/dhbloo/rapfi / reloadConfig

Function reloadConfig

Rapfi/command/gomocup.cpp:470–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468}
469
470void reloadConfig()
471{
472 configPath = readPathFromInput();
473 allowInternalConfig = configPath.empty();
474 if (allowInternalConfig)
475 MESSAGEL("No external config specified, reload internal config.");
476
477 if (!loadConfig())
478 ERRORL("Failed to load config. Please check if config file is correct.");
479}
480
481void setDatabase()
482{

Callers 1

runProtocolFunction · 0.85

Calls 3

readPathFromInputFunction · 0.85
loadConfigFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected