MCPcopy Create free account
hub / github.com/bwapi/bwapi / envKeyName

Function envKeyName

bwapi/BWAPI/Source/Config.cpp:42–45  ·  view source on GitHub ↗

----------------------------- LOAD CONFIG FXNS ------------------------------------------

Source from the content-addressed store, hash-verified

40
41//----------------------------- LOAD CONFIG FXNS ------------------------------------------
42std::string envKeyName(const char *pszKey, const char *pszItem)
43{
44 return "BWAPI_CONFIG_" + Util::to_upper_copy(pszKey) + "__" + Util::to_upper_copy(pszItem);
45}
46std::string LoadConfigStringFromFile(const char *pszKey, const char *pszItem, const char *pszDefault)
47{
48 char buffer[MAX_PATH];

Callers 2

LoadConfigStringFunction · 0.85
LoadConfigIntFunction · 0.85

Calls 1

to_upper_copyFunction · 0.85

Tested by

no test coverage detected