MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetConfigPath

Function GetConfigPath

Source/Internal/filesystem.cpp:604–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602}
603
604string GetConfigPath() {
605 char config_path[kPathSize];
606 GetConfigPath(config_path, kPathSize);
607 return string(config_path);
608}
609
610void GetConfigPath(char* buf, size_t len) {
611 FormatString(buf, len, "%sData/config.txt", GetWritePath(CoreGameModID).c_str());

Callers 4

DisposeMethod · 0.85
LoadConfigFileMethod · 0.85
ASSaveConfigFunction · 0.85

Calls 3

FormatStringFunction · 0.85
GetWritePathFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected