MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / load

Method load

src/server/config_parser.cpp:29–39  ·  view source on GitHub ↗

--- LOAD --- Loads the provided INI configuration file. Return true on success, false on failure.

Source from the content-addressed store, hash-verified

27// Loads the provided INI configuration file.
28// Return true on success, false on failure.
29bool IniParser::load(std::string &file) {
30 try {
31 parser->load(file);
32 }
33 catch (...) {
34 // An exception has occurred. Return false.
35 return false;
36 }
37
38 return true;
39}
40

Callers 4

getPlaybackStatusFunction · 0.45
volume_muteFunction · 0.45
mainFunction · 0.45
playbackActiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected